{"openapi":"3.1.0","info":{"title":"Portfolio API","version":"1.0.0"},"paths":{"/content":{"get":{"operationId":"Site_content","summary":"Site.content","parameters":[],"responses":{"200":{"description":"Success.","headers":{"cache-control":{"schema":{"type":"string","const":"public, max-age=60, s-maxage=300, stale-while-revalidate=86400"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"profile":{"type":"object","properties":{"name":{"type":"string","minLength":1},"handle":{"type":"string"},"role":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"location":{"type":"string"},"timeZone":{"type":"string","minLength":1},"headline":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"about":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"avatar":{"type":"string","maxLength":2048},"email":{"type":"string","format":"email","maxLength":254},"available":{"type":"boolean"},"availability":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false}},"required":["name","handle","role","location","timeZone","headline","about","avatar","email","available","availability"],"additionalProperties":false},"seo":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"favicon":{"type":"string","maxLength":2048},"image":{"type":"string","maxLength":2048},"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":40},"maxItems":20},"twitter":{"type":"string"}},"required":["title","description"],"additionalProperties":false},"appearance":{"type":"object","properties":{"accent":{"type":"object","properties":{"light":{"type":"string"},"dark":{"type":"string"}},"required":["light","dark"],"additionalProperties":false},"icons":{"type":"object","properties":{"light":{"type":"object","properties":{"variant":{"enum":["light","dark"]},"tint":{"type":"string"}},"required":["variant","tint"],"additionalProperties":false},"dark":{"type":"object","properties":{"variant":{"enum":["light","dark"]},"tint":{"type":"string"}},"required":["variant","tint"],"additionalProperties":false}},"required":["light","dark"],"additionalProperties":false}},"additionalProperties":false},"devto":{"type":"object","properties":{"enabled":{"type":"boolean"},"url":{"type":"string"}},"required":["enabled","url"],"additionalProperties":false},"projects":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1},"kind":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"year":{"type":"string"},"summary":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"cover":{"type":"string","maxLength":2048},"stack":{"type":"array","items":{"type":"string","minLength":1,"maxLength":64}},"featured":{"type":"boolean"},"published":{"type":"boolean"},"links":{"type":"object","properties":{"repo":{"type":"string","maxLength":2048},"site":{"type":"string","maxLength":2048},"docs":{"type":"string","maxLength":2048},"npm":{"type":"string","maxLength":2048}},"required":["repo","site","docs","npm"],"additionalProperties":false},"parts":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1},"description":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"url":{"type":"string","maxLength":2048}},"required":["name","description","url"],"additionalProperties":false}},"id":{"type":"string"},"position":{"type":"integer"}},"required":["name","kind","year","summary","cover","stack","featured","published","links","parts","id","position"],"additionalProperties":false}},"experience":{"type":"array","items":{"type":"object","properties":{"company":{"type":"string","minLength":1},"role":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"start":{"type":"string"},"end":{"type":"string"},"description":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"id":{"type":"string"},"position":{"type":"integer"}},"required":["company","role","start","end","description","id","position"],"additionalProperties":false}},"stack":{"type":"array","items":{"type":"object","properties":{"title":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"icons":{"type":"array","items":{"type":"string","minLength":1,"maxLength":64}},"id":{"type":"string"},"position":{"type":"integer"}},"required":["title","icons","id","position"],"additionalProperties":false}},"links":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1},"url":{"type":"string","minLength":1},"id":{"type":"string"},"position":{"type":"integer"}},"required":["label","url","id","position"],"additionalProperties":false}},"updatedAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["profile","seo","appearance","devto","projects","experience","stack","links","updatedAt"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/articles":{"get":{"operationId":"Site_articles","summary":"Site.articles","parameters":[],"responses":{"200":{"description":"Success.","headers":{"cache-control":{"schema":{"type":"string","const":"public, max-age=300, s-maxage=1800"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string"},"source":{"anyOf":[{"type":"string","const":"site"},{"type":"string","const":"devto"}]},"title":{"type":"string"},"excerpt":{"type":"string"},"lang":{"type":"string"},"publishedAt":{"type":"string"},"readingMinutes":{"type":"number"},"tags":{"type":"array","items":{"type":"string"}},"cover":{"anyOf":[{"type":"string"},{"type":"null"}]},"externalUrl":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["slug","source","title","excerpt","lang","publishedAt","readingMinutes","tags","cover","externalUrl"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/articles/{slug}":{"get":{"operationId":"Site_article","summary":"Site.article","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success.","headers":{"cache-control":{"schema":{"type":"string","const":"public, max-age=300, s-maxage=3600"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"slug":{"type":"string"},"source":{"anyOf":[{"type":"string","const":"site"},{"type":"string","const":"devto"}]},"title":{"type":"string"},"excerpt":{"type":"string"},"lang":{"type":"string"},"publishedAt":{"type":"string"},"readingMinutes":{"type":"number"},"tags":{"type":"array","items":{"type":"string"}},"cover":{"anyOf":[{"type":"string"},{"type":"null"}]},"externalUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"format":{"enum":["markdown","html"]},"body":{"type":"string"}},"required":["slug","source","title","excerpt","lang","publishedAt","readingMinutes","tags","cover","externalUrl","format","body"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not found. Declared: NotFound.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/releases":{"get":{"operationId":"Site_releases","summary":"Site.releases","parameters":[],"responses":{"200":{"description":"Success.","headers":{"cache-control":{"schema":{"type":"string","const":"public, max-age=300, s-maxage=1800"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":80},"version":{"type":"string","maxLength":32},"kind":{"enum":["launch","feature"]},"project":{"type":"string"},"slug":{"type":"string","minLength":1,"maxLength":120},"summary":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"body":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"cover":{"type":"string","maxLength":2048},"publishedAt":{"type":"string","format":"date"},"published":{"type":"boolean"},"notify":{"type":"boolean"},"id":{"type":"string"},"position":{"type":"integer"}},"required":["title","version","kind","project","slug","summary","body","cover","publishedAt","published","notify","id","position"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/push/key":{"get":{"operationId":"Site_pushKey","summary":"Site.pushKey","parameters":[],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"publicKey":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["publicKey"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/push/subscriptions":{"post":{"operationId":"Site_subscribe","summary":"Site.subscribe","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"endpoint":{"type":"string","maxLength":2048},"keys":{"type":"object","properties":{"p256dh":{"type":"string","maxLength":256,"pattern":"^[A-Za-z0-9_-]+={0,2}$"},"auth":{"type":"string","maxLength":64,"pattern":"^[A-Za-z0-9_-]+={0,2}$"}},"required":["p256dh","auth"],"additionalProperties":false},"locale":{"enum":["pt","en"]}},"required":["endpoint","keys","locale"],"additionalProperties":false}}}},"responses":{"201":{"description":"Created.","content":{"application/json":{"schema":{"type":"object","properties":{"subscribed":{"type":"boolean"}},"required":["subscribed"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Error 503. Declared: PushDisabled.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}},"delete":{"operationId":"Site_unsubscribe","summary":"Site.unsubscribe","parameters":[{"name":"endpoint","in":"query","required":true,"schema":{"type":"string","maxLength":2048}}],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"subscribed":{"type":"boolean"}},"required":["subscribed"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}}}},"/admin/me":{"get":{"operationId":"Admin_me","summary":"Admin.me","parameters":[],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"via":{"enum":["session","api-key","oauth"]},"id":{"type":"string"},"scope":{"enum":["read","write"]},"email":{"type":"string"},"name":{"type":"string"}},"required":["via","id","scope"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:read"]}]}},"/admin/mcp":{"get":{"operationId":"Admin_mcp","summary":"Admin.mcp","parameters":[],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"}},"required":["url"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:read"]}]}},"/admin/publish":{"post":{"operationId":"Admin_publish","summary":"Admin.publish","responses":{"202":{"description":"Accepted.","content":{"application/json":{"schema":{"type":"object","properties":{"queued":{"type":"boolean"}},"required":["queued"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"424":{"description":"Error 424. Declared: PublishFailed.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:write"]}]}},"/admin/push":{"get":{"operationId":"Admin_pushStatus","summary":"Admin.pushStatus","parameters":[],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"enabled":{"type":"boolean"},"subscribers":{"type":"integer"},"pending":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"slug":{"type":"string"}},"required":["id","title","slug"],"additionalProperties":false}}},"required":["enabled","subscribers","pending"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:read"]}]}},"/admin/push/send":{"post":{"operationId":"Admin_sendPush","summary":"Admin.sendPush","responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"sent":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"slug":{"type":"string"},"recipients":{"type":"integer"},"failed":{"type":"integer"}},"required":["id","slug","recipients","failed"],"additionalProperties":false}},"waiting":{"type":"array","items":{"type":"string"}},"skipped":{"type":"array","items":{"type":"string"}},"removed":{"type":"integer"}},"required":["sent","waiting","skipped","removed"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"503":{"description":"Error 503. Declared: PushDisabled.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:write"]}]}},"/admin/api-keys":{"get":{"operationId":"Admin_listApiKeys","summary":"Admin.listApiKeys","parameters":[],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"prefix":{"type":"string"},"scope":{"enum":["read","write"]},"createdAt":{"type":"string"},"lastUsedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"revokedAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","name","prefix","scope","createdAt","lastUsedAt","revokedAt"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["session"]}]},"post":{"operationId":"Admin_createApiKey","summary":"Admin.createApiKey","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":60},"scope":{"enum":["read","write"]}},"required":["name","scope"],"additionalProperties":false}}}},"responses":{"201":{"description":"Created.","content":{"application/json":{"schema":{"type":"object","properties":{"apiKey":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"prefix":{"type":"string"},"scope":{"enum":["read","write"]},"createdAt":{"type":"string"},"lastUsedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"revokedAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","name","prefix","scope","createdAt","lastUsedAt","revokedAt"],"additionalProperties":false},"key":{"type":"string"}},"required":["apiKey","key"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["session"]}]}},"/admin/api-keys/{id}":{"delete":{"operationId":"Admin_revokeApiKey","summary":"Admin.revokeApiKey","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"prefix":{"type":"string"},"scope":{"enum":["read","write"]},"createdAt":{"type":"string"},"lastUsedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"revokedAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","name","prefix","scope","createdAt","lastUsedAt","revokedAt"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not found. Declared: NotFound.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["session"]}]}},"/admin/connections":{"get":{"operationId":"Admin_listConnections","summary":"Admin.listConnections","parameters":[],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"clientName":{"type":"string"},"scope":{"enum":["read","write"]},"redirectHost":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"}},"required":["id","clientName","scope","redirectHost","createdAt"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["session"]}]}},"/admin/connections/{id}":{"delete":{"operationId":"Admin_revokeConnection","summary":"Admin.revokeConnection","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not found. Declared: NotFound.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["session"]}]}},"/admin/settings/profile":{"get":{"operationId":"Settings_getProfile","summary":"Settings.getProfile","parameters":[],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1},"handle":{"type":"string"},"role":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"location":{"type":"string"},"timeZone":{"type":"string","minLength":1},"headline":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"about":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"avatar":{"type":"string","maxLength":2048},"email":{"type":"string","format":"email","maxLength":254},"available":{"type":"boolean"},"availability":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false}},"required":["name","handle","role","location","timeZone","headline","about","avatar","email","available","availability"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:read"]}]},"put":{"operationId":"Settings_putProfile","summary":"Settings.putProfile","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1},"handle":{"type":"string"},"role":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"location":{"type":"string"},"timeZone":{"type":"string","minLength":1},"headline":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"about":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"avatar":{"type":"string","maxLength":2048},"email":{"type":"string","format":"email","maxLength":254},"available":{"type":"boolean"},"availability":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false}},"required":["name","handle","role","location","timeZone","headline","about","avatar","email","available","availability"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1},"handle":{"type":"string"},"role":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"location":{"type":"string"},"timeZone":{"type":"string","minLength":1},"headline":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"about":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"avatar":{"type":"string","maxLength":2048},"email":{"type":"string","format":"email","maxLength":254},"available":{"type":"boolean"},"availability":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false}},"required":["name","handle","role","location","timeZone","headline","about","avatar","email","available","availability"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context. Declared: InvalidData.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:write"]}]}},"/admin/settings/seo":{"get":{"operationId":"Settings_getSeo","summary":"Settings.getSeo","parameters":[],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"favicon":{"type":"string","maxLength":2048},"image":{"type":"string","maxLength":2048},"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":40},"maxItems":20},"twitter":{"type":"string"}},"required":["title","description"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:read"]}]},"put":{"operationId":"Settings_putSeo","summary":"Settings.putSeo","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"favicon":{"type":"string","maxLength":2048},"image":{"type":"string","maxLength":2048},"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":40},"maxItems":20},"twitter":{"type":"string"}},"required":["title","description"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"favicon":{"type":"string","maxLength":2048},"image":{"type":"string","maxLength":2048},"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":40},"maxItems":20},"twitter":{"type":"string"}},"required":["title","description"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context. Declared: InvalidData.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:write"]}]}},"/admin/settings/appearance":{"get":{"operationId":"Settings_getAppearance","summary":"Settings.getAppearance","parameters":[],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"accent":{"type":"object","properties":{"light":{"type":"string"},"dark":{"type":"string"}},"required":["light","dark"],"additionalProperties":false},"icons":{"type":"object","properties":{"light":{"type":"object","properties":{"variant":{"enum":["light","dark"]},"tint":{"type":"string"}},"required":["variant","tint"],"additionalProperties":false},"dark":{"type":"object","properties":{"variant":{"enum":["light","dark"]},"tint":{"type":"string"}},"required":["variant","tint"],"additionalProperties":false}},"required":["light","dark"],"additionalProperties":false}},"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:read"]}]},"put":{"operationId":"Settings_putAppearance","summary":"Settings.putAppearance","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"accent":{"type":"object","properties":{"light":{"type":"string"},"dark":{"type":"string"}},"required":["light","dark"],"additionalProperties":false},"icons":{"type":"object","properties":{"light":{"type":"object","properties":{"variant":{"enum":["light","dark"]},"tint":{"type":"string"}},"required":["variant","tint"],"additionalProperties":false},"dark":{"type":"object","properties":{"variant":{"enum":["light","dark"]},"tint":{"type":"string"}},"required":["variant","tint"],"additionalProperties":false}},"required":["light","dark"],"additionalProperties":false}},"additionalProperties":false}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"accent":{"type":"object","properties":{"light":{"type":"string"},"dark":{"type":"string"}},"required":["light","dark"],"additionalProperties":false},"icons":{"type":"object","properties":{"light":{"type":"object","properties":{"variant":{"enum":["light","dark"]},"tint":{"type":"string"}},"required":["variant","tint"],"additionalProperties":false},"dark":{"type":"object","properties":{"variant":{"enum":["light","dark"]},"tint":{"type":"string"}},"required":["variant","tint"],"additionalProperties":false}},"required":["light","dark"],"additionalProperties":false}},"additionalProperties":false}}}},"400":{"description":"Invalid input or context. Declared: InvalidData.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:write"]}]}},"/admin/settings/devto":{"get":{"operationId":"Settings_getDevto","summary":"Settings.getDevto","parameters":[],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"enabled":{"type":"boolean"},"url":{"type":"string"}},"required":["enabled","url"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:read"]}]},"put":{"operationId":"Settings_putDevto","summary":"Settings.putDevto","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"enabled":{"type":"boolean"},"url":{"type":"string"}},"required":["enabled","url"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"enabled":{"type":"boolean"},"url":{"type":"string"}},"required":["enabled","url"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context. Declared: InvalidData.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:write"]}]}},"/admin/collections/projects":{"get":{"operationId":"Projects_list","summary":"Projects.list","parameters":[],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1},"kind":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"year":{"type":"string"},"summary":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"cover":{"type":"string","maxLength":2048},"stack":{"type":"array","items":{"type":"string","minLength":1,"maxLength":64}},"featured":{"type":"boolean"},"published":{"type":"boolean"},"links":{"type":"object","properties":{"repo":{"type":"string","maxLength":2048},"site":{"type":"string","maxLength":2048},"docs":{"type":"string","maxLength":2048},"npm":{"type":"string","maxLength":2048}},"required":["repo","site","docs","npm"],"additionalProperties":false},"parts":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1},"description":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"url":{"type":"string","maxLength":2048}},"required":["name","description","url"],"additionalProperties":false}},"id":{"type":"string"},"position":{"type":"integer"}},"required":["name","kind","year","summary","cover","stack","featured","published","links","parts","id","position"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:read"]}]},"post":{"operationId":"Projects_create","summary":"Projects.create","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1},"kind":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"year":{"type":"string"},"summary":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"cover":{"type":"string","maxLength":2048},"stack":{"type":"array","items":{"type":"string","minLength":1,"maxLength":64}},"featured":{"type":"boolean"},"published":{"type":"boolean"},"links":{"type":"object","properties":{"repo":{"type":"string","maxLength":2048},"site":{"type":"string","maxLength":2048},"docs":{"type":"string","maxLength":2048},"npm":{"type":"string","maxLength":2048}},"required":["repo","site","docs","npm"],"additionalProperties":false},"parts":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1},"description":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"url":{"type":"string","maxLength":2048}},"required":["name","description","url"],"additionalProperties":false}}},"required":["name","kind","year","summary","cover","stack","featured","published","links","parts"],"additionalProperties":false}}}},"responses":{"201":{"description":"Created.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1},"kind":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"year":{"type":"string"},"summary":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"cover":{"type":"string","maxLength":2048},"stack":{"type":"array","items":{"type":"string","minLength":1,"maxLength":64}},"featured":{"type":"boolean"},"published":{"type":"boolean"},"links":{"type":"object","properties":{"repo":{"type":"string","maxLength":2048},"site":{"type":"string","maxLength":2048},"docs":{"type":"string","maxLength":2048},"npm":{"type":"string","maxLength":2048}},"required":["repo","site","docs","npm"],"additionalProperties":false},"parts":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1},"description":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"url":{"type":"string","maxLength":2048}},"required":["name","description","url"],"additionalProperties":false}},"id":{"type":"string"},"position":{"type":"integer"}},"required":["name","kind","year","summary","cover","stack","featured","published","links","parts","id","position"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context. Declared: InvalidData.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict. Declared: SlugTaken.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:write"]}]}},"/admin/collections/projects/{id}":{"get":{"operationId":"Projects_get","summary":"Projects.get","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1},"kind":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"year":{"type":"string"},"summary":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"cover":{"type":"string","maxLength":2048},"stack":{"type":"array","items":{"type":"string","minLength":1,"maxLength":64}},"featured":{"type":"boolean"},"published":{"type":"boolean"},"links":{"type":"object","properties":{"repo":{"type":"string","maxLength":2048},"site":{"type":"string","maxLength":2048},"docs":{"type":"string","maxLength":2048},"npm":{"type":"string","maxLength":2048}},"required":["repo","site","docs","npm"],"additionalProperties":false},"parts":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1},"description":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"url":{"type":"string","maxLength":2048}},"required":["name","description","url"],"additionalProperties":false}},"id":{"type":"string"},"position":{"type":"integer"}},"required":["name","kind","year","summary","cover","stack","featured","published","links","parts","id","position"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not found. Declared: NotFound.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:read"]}]},"put":{"operationId":"Projects_update","summary":"Projects.update","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1},"kind":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"year":{"type":"string"},"summary":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"cover":{"type":"string","maxLength":2048},"stack":{"type":"array","items":{"type":"string","minLength":1,"maxLength":64}},"featured":{"type":"boolean"},"published":{"type":"boolean"},"links":{"type":"object","properties":{"repo":{"type":"string","maxLength":2048},"site":{"type":"string","maxLength":2048},"docs":{"type":"string","maxLength":2048},"npm":{"type":"string","maxLength":2048}},"required":["repo","site","docs","npm"],"additionalProperties":false},"parts":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1},"description":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"url":{"type":"string","maxLength":2048}},"required":["name","description","url"],"additionalProperties":false}}},"additionalProperties":false,"required":["name","kind","year","summary","cover","stack","featured","published","links","parts"]}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1},"kind":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"year":{"type":"string"},"summary":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"cover":{"type":"string","maxLength":2048},"stack":{"type":"array","items":{"type":"string","minLength":1,"maxLength":64}},"featured":{"type":"boolean"},"published":{"type":"boolean"},"links":{"type":"object","properties":{"repo":{"type":"string","maxLength":2048},"site":{"type":"string","maxLength":2048},"docs":{"type":"string","maxLength":2048},"npm":{"type":"string","maxLength":2048}},"required":["repo","site","docs","npm"],"additionalProperties":false},"parts":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1},"description":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"url":{"type":"string","maxLength":2048}},"required":["name","description","url"],"additionalProperties":false}},"id":{"type":"string"},"position":{"type":"integer"}},"required":["name","kind","year","summary","cover","stack","featured","published","links","parts","id","position"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context. Declared: InvalidData.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not found. Declared: NotFound.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict. Declared: SlugTaken.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:write"]}]},"delete":{"operationId":"Projects_remove","summary":"Projects.remove","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not found. Declared: NotFound.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:write"]}]}},"/admin/collections/projects/order":{"put":{"operationId":"Projects_reorder","summary":"Projects.reorder","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string","minLength":1},"minItems":1}},"required":["ids"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1},"kind":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"year":{"type":"string"},"summary":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"cover":{"type":"string","maxLength":2048},"stack":{"type":"array","items":{"type":"string","minLength":1,"maxLength":64}},"featured":{"type":"boolean"},"published":{"type":"boolean"},"links":{"type":"object","properties":{"repo":{"type":"string","maxLength":2048},"site":{"type":"string","maxLength":2048},"docs":{"type":"string","maxLength":2048},"npm":{"type":"string","maxLength":2048}},"required":["repo","site","docs","npm"],"additionalProperties":false},"parts":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1},"description":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"url":{"type":"string","maxLength":2048}},"required":["name","description","url"],"additionalProperties":false}},"id":{"type":"string"},"position":{"type":"integer"}},"required":["name","kind","year","summary","cover","stack","featured","published","links","parts","id","position"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:write"]}]}},"/admin/collections/experience":{"get":{"operationId":"Experience_list","summary":"Experience.list","parameters":[],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"company":{"type":"string","minLength":1},"role":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"start":{"type":"string"},"end":{"type":"string"},"description":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"id":{"type":"string"},"position":{"type":"integer"}},"required":["company","role","start","end","description","id","position"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:read"]}]},"post":{"operationId":"Experience_create","summary":"Experience.create","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"company":{"type":"string","minLength":1},"role":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"start":{"type":"string"},"end":{"type":"string"},"description":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false}},"required":["company","role","start","end","description"],"additionalProperties":false}}}},"responses":{"201":{"description":"Created.","content":{"application/json":{"schema":{"type":"object","properties":{"company":{"type":"string","minLength":1},"role":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"start":{"type":"string"},"end":{"type":"string"},"description":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"id":{"type":"string"},"position":{"type":"integer"}},"required":["company","role","start","end","description","id","position"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context. Declared: InvalidData.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict. Declared: SlugTaken.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:write"]}]}},"/admin/collections/experience/{id}":{"get":{"operationId":"Experience_get","summary":"Experience.get","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"company":{"type":"string","minLength":1},"role":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"start":{"type":"string"},"end":{"type":"string"},"description":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"id":{"type":"string"},"position":{"type":"integer"}},"required":["company","role","start","end","description","id","position"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not found. Declared: NotFound.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:read"]}]},"put":{"operationId":"Experience_update","summary":"Experience.update","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"company":{"type":"string","minLength":1},"role":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"start":{"type":"string"},"end":{"type":"string"},"description":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false}},"additionalProperties":false,"required":["company","role","start","end","description"]}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"company":{"type":"string","minLength":1},"role":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"start":{"type":"string"},"end":{"type":"string"},"description":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"id":{"type":"string"},"position":{"type":"integer"}},"required":["company","role","start","end","description","id","position"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context. Declared: InvalidData.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not found. Declared: NotFound.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict. Declared: SlugTaken.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:write"]}]},"delete":{"operationId":"Experience_remove","summary":"Experience.remove","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not found. Declared: NotFound.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:write"]}]}},"/admin/collections/experience/order":{"put":{"operationId":"Experience_reorder","summary":"Experience.reorder","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string","minLength":1},"minItems":1}},"required":["ids"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"company":{"type":"string","minLength":1},"role":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"start":{"type":"string"},"end":{"type":"string"},"description":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"id":{"type":"string"},"position":{"type":"integer"}},"required":["company","role","start","end","description","id","position"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:write"]}]}},"/admin/collections/stack":{"get":{"operationId":"Stack_list","summary":"Stack.list","parameters":[],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"title":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"icons":{"type":"array","items":{"type":"string","minLength":1,"maxLength":64}},"id":{"type":"string"},"position":{"type":"integer"}},"required":["title","icons","id","position"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:read"]}]},"post":{"operationId":"Stack_create","summary":"Stack.create","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"icons":{"type":"array","items":{"type":"string","minLength":1,"maxLength":64}}},"required":["title","icons"],"additionalProperties":false}}}},"responses":{"201":{"description":"Created.","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"icons":{"type":"array","items":{"type":"string","minLength":1,"maxLength":64}},"id":{"type":"string"},"position":{"type":"integer"}},"required":["title","icons","id","position"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context. Declared: InvalidData.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict. Declared: SlugTaken.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:write"]}]}},"/admin/collections/stack/{id}":{"get":{"operationId":"Stack_get","summary":"Stack.get","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"icons":{"type":"array","items":{"type":"string","minLength":1,"maxLength":64}},"id":{"type":"string"},"position":{"type":"integer"}},"required":["title","icons","id","position"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not found. Declared: NotFound.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:read"]}]},"put":{"operationId":"Stack_update","summary":"Stack.update","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"icons":{"type":"array","items":{"type":"string","minLength":1,"maxLength":64}}},"additionalProperties":false,"required":["title","icons"]}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"icons":{"type":"array","items":{"type":"string","minLength":1,"maxLength":64}},"id":{"type":"string"},"position":{"type":"integer"}},"required":["title","icons","id","position"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context. Declared: InvalidData.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not found. Declared: NotFound.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict. Declared: SlugTaken.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:write"]}]},"delete":{"operationId":"Stack_remove","summary":"Stack.remove","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not found. Declared: NotFound.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:write"]}]}},"/admin/collections/stack/order":{"put":{"operationId":"Stack_reorder","summary":"Stack.reorder","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string","minLength":1},"minItems":1}},"required":["ids"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"title":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"icons":{"type":"array","items":{"type":"string","minLength":1,"maxLength":64}},"id":{"type":"string"},"position":{"type":"integer"}},"required":["title","icons","id","position"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:write"]}]}},"/admin/collections/links":{"get":{"operationId":"Links_list","summary":"Links.list","parameters":[],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1},"url":{"type":"string","minLength":1},"id":{"type":"string"},"position":{"type":"integer"}},"required":["label","url","id","position"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:read"]}]},"post":{"operationId":"Links_create","summary":"Links.create","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"label":{"type":"string","minLength":1},"url":{"type":"string","minLength":1}},"required":["label","url"],"additionalProperties":false}}}},"responses":{"201":{"description":"Created.","content":{"application/json":{"schema":{"type":"object","properties":{"label":{"type":"string","minLength":1},"url":{"type":"string","minLength":1},"id":{"type":"string"},"position":{"type":"integer"}},"required":["label","url","id","position"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context. Declared: InvalidData.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict. Declared: SlugTaken.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:write"]}]}},"/admin/collections/links/{id}":{"get":{"operationId":"Links_get","summary":"Links.get","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"label":{"type":"string","minLength":1},"url":{"type":"string","minLength":1},"id":{"type":"string"},"position":{"type":"integer"}},"required":["label","url","id","position"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not found. Declared: NotFound.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:read"]}]},"put":{"operationId":"Links_update","summary":"Links.update","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"label":{"type":"string","minLength":1},"url":{"type":"string","minLength":1}},"additionalProperties":false,"required":["label","url"]}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"label":{"type":"string","minLength":1},"url":{"type":"string","minLength":1},"id":{"type":"string"},"position":{"type":"integer"}},"required":["label","url","id","position"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context. Declared: InvalidData.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not found. Declared: NotFound.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict. Declared: SlugTaken.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:write"]}]},"delete":{"operationId":"Links_remove","summary":"Links.remove","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not found. Declared: NotFound.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:write"]}]}},"/admin/collections/links/order":{"put":{"operationId":"Links_reorder","summary":"Links.reorder","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string","minLength":1},"minItems":1}},"required":["ids"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1},"url":{"type":"string","minLength":1},"id":{"type":"string"},"position":{"type":"integer"}},"required":["label","url","id","position"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:write"]}]}},"/admin/collections/articles":{"get":{"operationId":"Articles_list","summary":"Articles.list","parameters":[],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1,"maxLength":120},"lang":{"enum":["pt","en"]},"excerpt":{"type":"string"},"body":{"type":"string"},"cover":{"type":"string","maxLength":2048},"tags":{"type":"array","items":{"type":"string","minLength":1,"maxLength":32},"maxItems":8},"publishedAt":{"type":"string","format":"date"},"published":{"type":"boolean"},"id":{"type":"string"},"position":{"type":"integer"}},"required":["title","slug","lang","excerpt","body","cover","tags","publishedAt","published","id","position"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:read"]}]},"post":{"operationId":"Articles_create","summary":"Articles.create","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1,"maxLength":120},"lang":{"enum":["pt","en"]},"excerpt":{"type":"string"},"body":{"type":"string"},"cover":{"type":"string","maxLength":2048},"tags":{"type":"array","items":{"type":"string","minLength":1,"maxLength":32},"maxItems":8},"publishedAt":{"type":"string","format":"date"},"published":{"type":"boolean"}},"required":["title","slug","lang","excerpt","body","cover","tags","publishedAt","published"],"additionalProperties":false}}}},"responses":{"201":{"description":"Created.","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1,"maxLength":120},"lang":{"enum":["pt","en"]},"excerpt":{"type":"string"},"body":{"type":"string"},"cover":{"type":"string","maxLength":2048},"tags":{"type":"array","items":{"type":"string","minLength":1,"maxLength":32},"maxItems":8},"publishedAt":{"type":"string","format":"date"},"published":{"type":"boolean"},"id":{"type":"string"},"position":{"type":"integer"}},"required":["title","slug","lang","excerpt","body","cover","tags","publishedAt","published","id","position"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context. Declared: InvalidData.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict. Declared: SlugTaken.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:write"]}]}},"/admin/collections/articles/{id}":{"get":{"operationId":"Articles_get","summary":"Articles.get","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1,"maxLength":120},"lang":{"enum":["pt","en"]},"excerpt":{"type":"string"},"body":{"type":"string"},"cover":{"type":"string","maxLength":2048},"tags":{"type":"array","items":{"type":"string","minLength":1,"maxLength":32},"maxItems":8},"publishedAt":{"type":"string","format":"date"},"published":{"type":"boolean"},"id":{"type":"string"},"position":{"type":"integer"}},"required":["title","slug","lang","excerpt","body","cover","tags","publishedAt","published","id","position"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not found. Declared: NotFound.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:read"]}]},"put":{"operationId":"Articles_update","summary":"Articles.update","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1,"maxLength":120},"lang":{"enum":["pt","en"]},"excerpt":{"type":"string"},"body":{"type":"string"},"cover":{"type":"string","maxLength":2048},"tags":{"type":"array","items":{"type":"string","minLength":1,"maxLength":32},"maxItems":8},"publishedAt":{"type":"string","format":"date"},"published":{"type":"boolean"}},"additionalProperties":false,"required":["title","slug","lang","excerpt","body","cover","tags","publishedAt","published"]}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1,"maxLength":120},"lang":{"enum":["pt","en"]},"excerpt":{"type":"string"},"body":{"type":"string"},"cover":{"type":"string","maxLength":2048},"tags":{"type":"array","items":{"type":"string","minLength":1,"maxLength":32},"maxItems":8},"publishedAt":{"type":"string","format":"date"},"published":{"type":"boolean"},"id":{"type":"string"},"position":{"type":"integer"}},"required":["title","slug","lang","excerpt","body","cover","tags","publishedAt","published","id","position"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context. Declared: InvalidData.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not found. Declared: NotFound.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict. Declared: SlugTaken.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:write"]}]},"delete":{"operationId":"Articles_remove","summary":"Articles.remove","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not found. Declared: NotFound.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:write"]}]}},"/admin/collections/articles/order":{"put":{"operationId":"Articles_reorder","summary":"Articles.reorder","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string","minLength":1},"minItems":1}},"required":["ids"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1,"maxLength":120},"lang":{"enum":["pt","en"]},"excerpt":{"type":"string"},"body":{"type":"string"},"cover":{"type":"string","maxLength":2048},"tags":{"type":"array","items":{"type":"string","minLength":1,"maxLength":32},"maxItems":8},"publishedAt":{"type":"string","format":"date"},"published":{"type":"boolean"},"id":{"type":"string"},"position":{"type":"integer"}},"required":["title","slug","lang","excerpt","body","cover","tags","publishedAt","published","id","position"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:write"]}]}},"/admin/collections/releases":{"get":{"operationId":"Releases_list","summary":"Releases.list","parameters":[],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":80},"version":{"type":"string","maxLength":32},"kind":{"enum":["launch","feature"]},"project":{"type":"string"},"slug":{"type":"string","minLength":1,"maxLength":120},"summary":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"body":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"cover":{"type":"string","maxLength":2048},"publishedAt":{"type":"string","format":"date"},"published":{"type":"boolean"},"notify":{"type":"boolean"},"id":{"type":"string"},"position":{"type":"integer"}},"required":["title","version","kind","project","slug","summary","body","cover","publishedAt","published","notify","id","position"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:read"]}]},"post":{"operationId":"Releases_create","summary":"Releases.create","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":80},"version":{"type":"string","maxLength":32},"kind":{"enum":["launch","feature"]},"project":{"type":"string"},"slug":{"type":"string","minLength":1,"maxLength":120},"summary":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"body":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"cover":{"type":"string","maxLength":2048},"publishedAt":{"type":"string","format":"date"},"published":{"type":"boolean"},"notify":{"type":"boolean"}},"required":["title","version","kind","project","slug","summary","body","cover","publishedAt","published","notify"],"additionalProperties":false}}}},"responses":{"201":{"description":"Created.","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":80},"version":{"type":"string","maxLength":32},"kind":{"enum":["launch","feature"]},"project":{"type":"string"},"slug":{"type":"string","minLength":1,"maxLength":120},"summary":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"body":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"cover":{"type":"string","maxLength":2048},"publishedAt":{"type":"string","format":"date"},"published":{"type":"boolean"},"notify":{"type":"boolean"},"id":{"type":"string"},"position":{"type":"integer"}},"required":["title","version","kind","project","slug","summary","body","cover","publishedAt","published","notify","id","position"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context. Declared: InvalidData.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict. Declared: SlugTaken.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:write"]}]}},"/admin/collections/releases/{id}":{"get":{"operationId":"Releases_get","summary":"Releases.get","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":80},"version":{"type":"string","maxLength":32},"kind":{"enum":["launch","feature"]},"project":{"type":"string"},"slug":{"type":"string","minLength":1,"maxLength":120},"summary":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"body":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"cover":{"type":"string","maxLength":2048},"publishedAt":{"type":"string","format":"date"},"published":{"type":"boolean"},"notify":{"type":"boolean"},"id":{"type":"string"},"position":{"type":"integer"}},"required":["title","version","kind","project","slug","summary","body","cover","publishedAt","published","notify","id","position"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not found. Declared: NotFound.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:read"]}]},"put":{"operationId":"Releases_update","summary":"Releases.update","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":80},"version":{"type":"string","maxLength":32},"kind":{"enum":["launch","feature"]},"project":{"type":"string"},"slug":{"type":"string","minLength":1,"maxLength":120},"summary":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"body":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"cover":{"type":"string","maxLength":2048},"publishedAt":{"type":"string","format":"date"},"published":{"type":"boolean"},"notify":{"type":"boolean"}},"additionalProperties":false,"required":["title","version","kind","project","slug","summary","body","cover","publishedAt","published","notify"]}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":80},"version":{"type":"string","maxLength":32},"kind":{"enum":["launch","feature"]},"project":{"type":"string"},"slug":{"type":"string","minLength":1,"maxLength":120},"summary":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"body":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"cover":{"type":"string","maxLength":2048},"publishedAt":{"type":"string","format":"date"},"published":{"type":"boolean"},"notify":{"type":"boolean"},"id":{"type":"string"},"position":{"type":"integer"}},"required":["title","version","kind","project","slug","summary","body","cover","publishedAt","published","notify","id","position"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context. Declared: InvalidData.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not found. Declared: NotFound.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"409":{"description":"Conflict. Declared: SlugTaken.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:write"]}]},"delete":{"operationId":"Releases_remove","summary":"Releases.remove","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"404":{"description":"Not found. Declared: NotFound.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:write"]}]}},"/admin/collections/releases/order":{"put":{"operationId":"Releases_reorder","summary":"Releases.reorder","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string","minLength":1},"minItems":1}},"required":["ids"],"additionalProperties":false}}}},"responses":{"200":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":80},"version":{"type":"string","maxLength":32},"kind":{"enum":["launch","feature"]},"project":{"type":"string"},"slug":{"type":"string","minLength":1,"maxLength":120},"summary":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"body":{"type":"object","properties":{"pt":{"type":"string"},"en":{"type":"string"}},"required":["pt","en"],"additionalProperties":false},"cover":{"type":"string","maxLength":2048},"publishedAt":{"type":"string","format":"date"},"published":{"type":"boolean"},"notify":{"type":"boolean"},"id":{"type":"string"},"position":{"type":"integer"}},"required":["title","version","kind","project","slug","summary","body","cover","publishedAt","published","notify","id","position"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false}}}},"400":{"description":"Invalid input or context.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"401":{"description":"Authentication is required.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"403":{"description":"The caller may not do this.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"500":{"description":"Internal error.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"security":[{"bearer":["admin:write"]}]}}},"components":{"schemas":{"Problem":{"type":"object","properties":{"type":{"type":"string"},"title":{"type":"string"},"status":{"type":"integer"},"detail":{"type":"string"},"layer":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"array","items":{"type":["string","integer"]}},"code":{"type":"string"},"message":{"type":"string"}},"required":["path","code","message"]}},"trace":{"type":"string"}},"required":["type","title","status","detail"]}},"securitySchemes":{"bearer":{"type":"http","scheme":"bearer"}}}}