{"openapi":"3.1.0","info":{"title":"JOYCO Content API","version":"1.0.0","summary":"Read-only access to the canonical Markdown representation of joyco.studio.","description":"JOYCO is a design and engineering studio working on brands, websites and digital products with clients all around the world. Based in Buenos Aires, Argentina.\n\nJOYCO is a services studio, not a developer platform. This API is public, read-only and unauthenticated. It exposes the canonical Markdown representation of every page on this website and nothing else — there are no accounts, no write operations, no webhooks and no paid quotas.\n\nVersioning: Major version in the URL path. The current major is `v1`, live since 2026-08-27.\n\n- A breaking change ships as a new major path. The previous path keeps working.\n- A deprecated version answers every request with a `Deprecation` header carrying the date the deprecation took effect, and a `Sunset` header carrying the date it stops answering (RFC 9745 and RFC 8594).\n- A deprecated version also carries `Link: <…>; rel=\"deprecation\"` pointing at this page, and `Link: <…>; rel=\"successor-version\"` pointing at the replacement.\n- The window between the `Deprecation` date and the `Sunset` date is at least 180 days.\n- Additive changes — a new endpoint, a new optional field — are not breaking and ship inside the current major without notice.\n\nRate limiting: 120 requests per 60 seconds per client IP, reported on every response through the IETF RateLimit header fields. Over the limit the answer is 429 with `Retry-After`.\n\nMarkdown is also available without this API: append `.md` to any content URL, or send `Accept: text/markdown` to the HTML page. The same content is exposed as an MCP server over Streamable HTTP at https://joyco.studio/api/mcp.","contact":{"name":"JOYCO","email":"hey@joyco.studio","url":"https://joyco.studio"},"license":{"name":"Content © JOYCO. Machine-readable representations may be quoted with attribution.","url":"https://joyco.studio/developers"}},"externalDocs":{"description":"JOYCO developer portal","url":"https://joyco.studio/developers"},"servers":[{"url":"https://joyco.studio","description":"Production"}],"paths":{"/api":{"get":{"operationId":"getServiceIndex","summary":"Service index","description":"The versions this API offers, where its descriptions live, and the rate-limit policy. The cheapest first request for an agent that has only a domain name.","responses":{"200":{"description":"The service index.","headers":{"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceIndex"}}}},"429":{"description":"More than 120 requests in 60 seconds from one address.","headers":{"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1":{"get":{"operationId":"getVersionIndex","summary":"Version index and lifecycle","description":"The operations in this major version, its status, and the deprecation policy in machine-readable form. `sunset` is null while the version is current.","responses":{"200":{"description":"The version index.","headers":{"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionIndex"}}}},"429":{"description":"More than 120 requests in 60 seconds from one address.","headers":{"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1/documents":{"get":{"operationId":"listDocuments","summary":"List every Markdown document","description":"Returns the full index of documents this site serves, with the Markdown and JSON URL for each one. Start here to discover what is available.","responses":{"200":{"description":"The document index.","headers":{"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentIndex"}}}},"429":{"description":"More than 120 requests in 60 seconds from one address.","headers":{"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/v1/document":{"get":{"operationId":"getDocument","summary":"Get one document as JSON","description":"Returns a single document's metadata together with its Markdown body. The path is the document path without the `.md` suffix, for example `blog/wtf-is-layout-thrashing`.","parameters":[{"name":"path","in":"query","required":true,"description":"Document path without the `.md` suffix.","schema":{"type":"string","examples":["index","ai","about"]}}],"responses":{"200":{"description":"The requested document.","headers":{"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Document"}}}},"400":{"description":"The `path` parameter was missing.","headers":{"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"No document exists at that path.","headers":{"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"429":{"description":"More than 120 requests in 60 seconds from one address.","headers":{"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/api/mcp":{"post":{"operationId":"callMcp","summary":"Model Context Protocol endpoint","description":"Streamable HTTP transport for MCP. Send one JSON-RPC 2.0 message; the answer comes back as `application/json`. Stateless — no session is issued, and `GET` answers 405 because this server never opens a stream of its own. Implements `initialize`, `ping`, `tools/list` and `tools/call`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonRpcRequest"}}}},"responses":{"200":{"description":"The JSON-RPC response.","headers":{"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonRpcResponse"}}}},"202":{"description":"A notification was accepted. No body."},"400":{"description":"The body was not a single valid JSON-RPC 2.0 message.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonRpcResponse"}}}},"429":{"description":"More than 120 requests in 60 seconds from one address.","headers":{"RateLimit":{"$ref":"#/components/headers/RateLimit"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}},"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/{document}.md":{"get":{"operationId":"getDocumentMarkdown","summary":"Get a document as raw Markdown","description":"Returns the Markdown representation of a content page. Equivalent to requesting the HTML page with `Accept: text/markdown`. Nested paths such as `/blog/{slug}.md` and `/showcase/{slug}.md` work the same way. Served from cache and not rate limited.","parameters":[{"name":"document","in":"path","required":true,"description":"Document path without the `.md` suffix.","schema":{"type":"string","examples":["index","showcase","developers"]}}],"responses":{"200":{"description":"The document as Markdown.","content":{"text/markdown":{"schema":{"type":"string"}}}},"404":{"description":"No document exists at that path.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}}},"components":{"headers":{"RateLimit":{"description":"The current window as a structured field — `\"public\";r=<remaining>;t=<seconds to reset>`.","schema":{"type":"string"}},"RateLimit-Policy":{"description":"The published policy — `\"public\";q=120;w=60`.","schema":{"type":"string"}},"RateLimit-Limit":{"description":"Requests allowed in the window.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the window resets.","schema":{"type":"integer"}}},"schemas":{"Problem":{"type":"object","title":"Problem","description":"RFC 9457 problem detail returned for every error response.","required":["type","title","status","code","detail","resolution"],"properties":{"type":{"type":"string","format":"uri","description":"URI identifying the problem type."},"title":{"type":"string","description":"Short, human-readable summary."},"status":{"type":"integer","description":"HTTP status code."},"code":{"type":"string","description":"Stable machine-readable error code.","enum":["missing_path","document_not_found","not_found","method_not_allowed","rate_limited","invalid_request"]},"detail":{"type":"string","description":"Human-readable explanation of this occurrence."},"instance":{"type":"string","description":"The request path that failed."},"resolution":{"type":"string","description":"Concrete next step to recover."}}},"ServiceIndex":{"type":"object","title":"ServiceIndex","required":["name","versions","authentication","rateLimit"],"properties":{"name":{"type":"string"},"description":{"type":"string"},"documentation":{"type":"string","format":"uri"},"versions":{"type":"array","items":{"$ref":"#/components/schemas/VersionSummary"}},"authentication":{"type":"object","properties":{"type":{"type":"string","enum":["none"]}}},"rateLimit":{"type":"object","properties":{"policy":{"type":"string"},"quota":{"type":"integer"},"window":{"type":"integer"}}},"mcp":{"type":"object","properties":{"transport":{"type":"string"},"url":{"type":"string","format":"uri"},"manifest":{"type":"string","format":"uri"}}}}},"VersionSummary":{"type":"object","title":"VersionSummary","required":["version","status","path"],"properties":{"version":{"type":"string"},"status":{"type":"string","enum":["current","deprecated"]},"path":{"type":"string"},"url":{"type":"string","format":"uri"},"since":{"type":["string","null"],"format":"date"},"sunset":{"type":["string","null"],"format":"date"}}},"VersionIndex":{"type":"object","title":"VersionIndex","required":["version","status","deprecated","versioning"],"properties":{"version":{"type":"string"},"status":{"type":"string","enum":["current","deprecated"]},"deprecated":{"type":"boolean"},"since":{"type":["string","null"],"format":"date"},"deprecatedSince":{"type":["string","null"],"format":"date"},"sunset":{"type":["string","null"],"format":"date"},"successor":{"type":["string","null"]},"versioning":{"type":"object","properties":{"scheme":{"type":"string"},"policy":{"type":"array","items":{"type":"string"}},"documentation":{"type":"string","format":"uri"}}}}},"DocumentSummary":{"type":"object","title":"DocumentSummary","required":["path","kind","title","markdownUrl","jsonUrl"],"properties":{"path":{"type":"string","description":"Document path without the `.md` suffix."},"kind":{"type":"string","enum":["page","project","post"]},"title":{"type":"string"},"markdownUrl":{"type":"string","format":"uri"},"jsonUrl":{"type":"string","format":"uri"}}},"DocumentIndex":{"type":"object","title":"DocumentIndex","required":["site","count","documents"],"properties":{"site":{"type":"string","format":"uri"},"count":{"type":"integer"},"documents":{"type":"array","items":{"$ref":"#/components/schemas/DocumentSummary"}}}},"Document":{"type":"object","title":"Document","required":["path","kind","title","markdownUrl","markdown"],"properties":{"path":{"type":"string"},"kind":{"type":"string","enum":["page","project","post"]},"title":{"type":"string"},"markdownUrl":{"type":"string","format":"uri"},"markdown":{"type":"string","description":"The document body as Markdown."}}},"JsonRpcRequest":{"type":"object","title":"JsonRpcRequest","required":["jsonrpc","method"],"properties":{"jsonrpc":{"type":"string","const":"2.0"},"id":{"type":["string","integer","null"]},"method":{"type":"string","enum":["initialize","ping","tools/list","tools/call"]},"params":{"type":"object"}}},"JsonRpcResponse":{"type":"object","title":"JsonRpcResponse","required":["jsonrpc","id"],"properties":{"jsonrpc":{"type":"string","const":"2.0"},"id":{"type":["string","integer","null"]},"result":{"type":"object"},"error":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"},"data":{}}}}}}}}