{"openapi":"3.0.0","info":{"title":"Yurly API","version":"1.0.0","description":"Premium Link Hub API for creators"},"servers":[{"url":"https://yurly.platphormnews.com/api","description":"Production"}],"paths":{"/health":{"get":{"summary":"Health check","tags":["System"],"responses":{"200":{"description":"System is healthy","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"timestamp":{"type":"string"},"database":{"type":"string"}}}}}}}}},"/mcp/store":{"get":{"summary":"Get all links","tags":["Links"],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"List of links"}}},"post":{"summary":"Create link","tags":["Links"],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string"},"url":{"type":"string"},"slug":{"type":"string"},"description":{"type":"string"},"icon_url":{"type":"string"},"userId":{"type":"number"}}}}}},"responses":{"201":{"description":"Link created"}}}},"/mcp/content/{id}":{"get":{"summary":"Get content by ID","tags":["Content"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Content details"}}},"put":{"summary":"Update content","tags":["Content"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Content updated"}}},"delete":{"summary":"Delete content","tags":["Content"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Content deleted"}}}},"/audit/logs":{"get":{"summary":"Get audit logs","tags":["Audit"],"parameters":[{"name":"x-tenant-id","in":"header","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"type":"integer","default":50}},{"name":"offset","in":"query","schema":{"type":"integer","default":0}}],"responses":{"200":{"description":"Audit logs"}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"},"apiKey":{"type":"apiKey","in":"header","name":"X-API-Key"}}}}