{"openapi":"3.1.0","info":{"title":"360sona API","version":"1.0.0","summary":"Xbox 360 avatars: the wardrobe, avatar tools, gamertag lookup, sign-in, saved avatars and profiles.","description":"The full guide, with the live avatar runtime, 3D models, quick starts and rules, is https://360sona.com/devs.md. An MCP server with the same tools is at https://360sona.com/sona/mcp. Every error has `error` (for people), `fix` (what to do) and `docs` (a link). Note: POST /token takes JSON, not form-encoded fields. Credit 'Powered by 360sona' linking to https://360sona.com wherever an avatar appears. Developer Terms: https://360sona.com/devterms.html. The Renderer SDK (free, with credit) is at https://360sona.com/devs/sdk.","contact":{"name":"360sona for developers","url":"https://360sona.com/devs"},"license":{"name":"360sona Developer Terms","url":"https://360sona.com/devterms.html"}},"servers":[{"url":"https://360sona.com/sona/v1"}],"externalDocs":{"url":"https://360sona.com/devs.md"},"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"An access token from POST /token. Lasts an hour."},"sona":{"type":"oauth2","description":"Authorization code with PKCE (S256). The sign-in page also needs `client`, `redirect`, `method=S256`, `challenge` and `state`. Swap the code at POST /token with JSON.","flows":{"authorizationCode":{"authorizationUrl":"https://360sona.com/link.html","tokenUrl":"https://360sona.com/sona/v1/token","refreshUrl":"https://360sona.com/sona/v1/token","scopes":{"profile:read":"See their gamertag, profile and gamer picture","profile:write":"Change their motto, name, location, bio, zone and gamer picture","avatar:read":"See their saved avatars","avatar:write":"Change and save their avatars","xbox":"See and change the avatar on their linked Xbox account (trusted apps only)"}}}},"appKey":{"type":"http","scheme":"bearer","description":"Your app key (sak_...), from approval or POST /apps/{id}/key."},"appId":{"type":"apiKey","in":"query","name":"client","description":"Your app id. Free: POST /requests."}},"schemas":{"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"Written for people; safe to show."},"fix":{"type":"string","description":"What the caller should do next."},"docs":{"type":"string","format":"uri"},"field":{"type":"string","description":"The request field at fault, when there is one."}}},"Manifest":{"type":"string","contentEncoding":"base64","description":"The 1000-byte Xbox 360 avatar description, base64."},"Tokens":{"type":"object","properties":{"access_token":{"type":"string"},"token_type":{"const":"Bearer"},"expires_in":{"type":"integer"},"refresh_token":{"type":"string"},"scope":{"type":"string"},"username":{"type":["string","null"]}}},"Slot":{"type":"object","properties":{"idx":{"type":"integer","minimum":0,"maximum":19},"name":{"type":"string"},"at":{"type":"integer","description":"Saved at, ms since 1970."},"manifest":{"$ref":"#/components/schemas/Manifest"}}},"Profile":{"type":"object","properties":{"pic":{"type":"string"},"zone":{"type":"string"},"motto":{"type":"string"},"name":{"type":"string"},"location":{"type":"string"},"bio":{"type":"string"},"score":{"type":"integer"},"rep":{"type":"integer"}}},"Item":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"game":{"type":["string","null"]},"slots":{"type":"array","items":{"type":"string"}},"gender":{"enum":["male","female","any"]},"source":{"enum":["builtin","award","marketplace"]},"plain":{"type":"boolean","description":"A Microsoft stock item, with no game or brand on it."},"category":{"type":["string","null"]},"description":{"type":["string","null"]}}},"Avatar":{"type":"object","properties":{"gender":{"enum":["male","female"]},"height":{"type":"number"},"weight":{"type":"number"},"colours":{"type":"object","additionalProperties":{"type":"string"}},"items":{"type":"array","items":{"$ref":"#/components/schemas/Item"}}}}},"responses":{"Error":{"description":"An error, with a fix and a docs link.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"paths":{"/gamertag/{gamertag}":{"get":{"operationId":"lookupGamertag","summary":"The avatar on an Xbox account","description":"No sign-in. Any origin. Cached ten minutes. 60 an hour per address.","parameters":[{"name":"gamertag","in":"path","required":true,"schema":{"type":"string","maxLength":21}},{"name":"format","in":"query","schema":{"enum":["json","bin"]},"description":"bin: the raw 1000 bytes."}],"responses":{"200":{"description":"The avatar.","content":{"application/json":{"schema":{"type":"object","properties":{"gamertag":{"type":"string"},"manifest":{"$ref":"#/components/schemas/Manifest"}}}},"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}},"security":[{"appId":[]}]}},"/token":{"post":{"operationId":"token","summary":"Swap a sign-in code or a refresh token for tokens","description":"Refresh tokens rotate: store the new one every time. A refresh token used twice ends that sign-in.","requestBody":{"required":true,"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["grant_type","client","redirect","code","verifier"],"properties":{"grant_type":{"const":"authorization_code"},"client":{"type":"string"},"redirect":{"type":"string"},"code":{"type":"string"},"verifier":{"type":"string","minLength":43,"maxLength":128}}},{"type":"object","required":["grant_type","client","refresh_token"],"properties":{"grant_type":{"const":"refresh_token"},"client":{"type":"string"},"refresh_token":{"type":"string"}}}]}}}},"responses":{"200":{"description":"Tokens.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tokens"}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"}},"security":[]}},"/revoke":{"post":{"operationId":"revoke","summary":"End this sign-in","security":[{"bearer":[]}],"responses":{"200":{"description":"Signed out."},"401":{"$ref":"#/components/responses/Error"}}}},"/me":{"get":{"operationId":"me","summary":"Gamertag, profile and gamer picture","security":[{"sona":["profile:read"]}],"responses":{"200":{"description":"The person.","content":{"application/json":{"schema":{"type":"object","properties":{"username":{"type":"string"},"profile":{"$ref":"#/components/schemas/Profile"},"pics":{"type":"array","items":{"type":"object"}},"limits":{"type":"object"},"zones":{"type":"array","items":{"type":"string"}},"dashboardPics":{"type":"array","items":{"type":"string"}}}}}}},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"}}}},"/profile":{"put":{"operationId":"updateProfile","summary":"Change the profile; send only what changed","security":[{"sona":["profile:write"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"motto":{"type":"string"},"name":{"type":"string"},"location":{"type":"string"},"bio":{"type":"string"},"zone":{"type":"string"},"pic":{"type":"string"}}}}}},"responses":{"200":{"description":"The whole new profile."},"400":{"$ref":"#/components/responses/Error"}}}},"/slots":{"get":{"operationId":"listSlots","summary":"Every saved avatar","security":[{"sona":["avatar:read"]}],"responses":{"200":{"description":"Saved avatars.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Slot"}}}}},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"}}}},"/slots/{n}":{"put":{"operationId":"saveSlot","summary":"Save an avatar into a slot","security":[{"sona":["avatar:write"]}],"parameters":[{"name":"n","in":"path","required":true,"schema":{"type":"integer","minimum":0,"maximum":19}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["manifest"],"properties":{"manifest":{"$ref":"#/components/schemas/Manifest"},"name":{"type":"string","maxLength":24}}}}}},"responses":{"200":{"description":"Saved: { idx, name, at }."},"400":{"$ref":"#/components/responses/Error"}}}},"/xbox":{"get":{"operationId":"xboxStatus","summary":"Whether an Xbox account is linked","security":[{"sona":["xbox"]}],"responses":{"200":{"description":"{ linked: false } or { linked: true, gamertag, at, history }."},"429":{"$ref":"#/components/responses/Error"}}}},"/xbox/avatar":{"get":{"operationId":"xboxAvatar","summary":"The avatar on the linked Xbox account","security":[{"sona":["xbox"]}],"responses":{"200":{"description":"{ avatar, worn, wearsAward }."},"429":{"$ref":"#/components/responses/Error"}}},"put":{"operationId":"saveXboxAvatar","summary":"Save an avatar to the linked Xbox account","security":[{"sona":["xbox"]}],"description":"Six an hour per account. Send the bytes from the runtime's xboxManifest(). The answer says stored or restored, with a historyId.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"manifest":{"$ref":"#/components/schemas/Manifest"},"historyId":{"type":"string"}}}}}},"responses":{"200":{"description":"{ stored, restored, historyId }."},"400":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/xbox/check":{"post":{"operationId":"checkXboxAvatar","summary":"Would Xbox take this avatar","security":[{"sona":["xbox"]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["manifest"],"properties":{"manifest":{"$ref":"#/components/schemas/Manifest"}}}}}},"responses":{"200":{"description":"What Xbox would say."},"429":{"$ref":"#/components/responses/Error"}}}},"/requests":{"post":{"operationId":"fileRequest","summary":"Ask for an app id or a feature, or report a bug","description":"Read-only access requests that pass the rules are approved at once; the answer then has app.id and app.key (shown once). Others are reviewed by a person and the answer says why. Five an hour per address.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["kind"],"properties":{"kind":{"enum":["access","feature","bug","other"]},"app":{"type":"string","maxLength":60,"description":"Required for access."},"contact":{"type":"string","maxLength":120,"description":"Required for access."},"platform":{"type":"string","maxLength":60},"redirect":{"type":"string","maxLength":200,"description":"For access: the return address for sign-in."},"about":{"type":"string","maxLength":2000,"description":"What you are building."},"needs":{"type":"string","maxLength":2000,"description":"What you need."},"agent":{"type":"string","maxLength":80,"description":"The AI tool filing this, if any."},"wants":{"type":"string","description":"signin, lookup, or \"signin lookup\"."},"scopes":{"type":"string"},"agree":{"const":"I have read and understand the Developer Terms","description":"Required for access, typed exactly, after reading https://360sona.com/devterms.html. Anything else is refused."},"brand":{"type":"object","properties":{"logo":{"type":"string"},"accent":{"type":"string"},"developer":{"type":"string"},"tagline":{"type":"string"},"homepage":{"type":"string"},"privacy":{"type":"string"},"terms":{"type":"string"},"support":{"type":"string"}}},"pickAvatar":{"type":"boolean"},"avatarStyle":{"enum":["costume","plain"]}}}}}},"responses":{"200":{"description":"{ ok, id, next }."},"400":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}},"security":[]}},"/items":{"get":{"operationId":"searchItems","summary":"Search the wardrobe","description":"No key. Any origin. 50 per page at most.","parameters":[{"name":"q","in":"query","schema":{"type":"string"}},{"name":"slot","in":"query","schema":{"type":"string"}},{"name":"game","in":"query","schema":{"type":"string"}},{"name":"gender","in":"query","schema":{"enum":["male","female","any"]}},{"name":"source","in":"query","schema":{"enum":["builtin","award","marketplace"]}},{"name":"plain","in":"query","schema":{"enum":["1","0"]}},{"name":"offset","in":"query","schema":{"type":"integer","minimum":0}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":50}}],"responses":{"200":{"description":"A page of items.","content":{"application/json":{"schema":{"type":"object","properties":{"total":{"type":"integer"},"offset":{"type":"integer"},"limit":{"type":"integer"},"items":{"type":"array","items":{"$ref":"#/components/schemas/Item"}}}}}}},"400":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}},"security":[]}},"/items/{id}":{"get":{"operationId":"getItem","summary":"One item","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The item.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Item"}}}},"404":{"$ref":"#/components/responses/Error"}},"security":[]}},"/games":{"get":{"operationId":"listGames","summary":"Every game with avatar items","responses":{"200":{"description":"Games, most items first.","content":{"application/json":{"schema":{"type":"object","properties":{"games":{"type":"array","items":{"type":"object","properties":{"game":{"type":"string"},"items":{"type":"integer"}}}}}}}}},"429":{"$ref":"#/components/responses/Error"}},"security":[]}},"/avatar/random":{"get":{"operationId":"randomAvatar","summary":"A complete random avatar from a seed","description":"Same seed, same avatar. style=plain wears stock clothes only (safe for your own characters); style=costume wears a full-body costume, which can be licensed.","parameters":[{"name":"seed","in":"query","schema":{"type":"string","maxLength":64}},{"name":"gender","in":"query","schema":{"enum":["male","female","any"]}},{"name":"style","in":"query","schema":{"enum":["plain","costume"]}}],"responses":{"200":{"description":"The avatar.","content":{"application/json":{"schema":{"type":"object","properties":{"manifest":{"$ref":"#/components/schemas/Manifest"},"avatar":{"$ref":"#/components/schemas/Avatar"},"seed":{"type":"string"},"style":{"type":"string"},"licensed":{"type":"boolean"}}}}}},"400":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}},"security":[]}},"/avatar/build":{"post":{"operationId":"buildAvatar","summary":"An avatar wearing the items you list","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"string"},"maxItems":40},"gender":{"enum":["male","female"]},"height":{"type":"number","minimum":-1,"maximum":1},"weight":{"type":"number","minimum":-1,"maximum":1},"colours":{"type":"object","additionalProperties":{"type":"string"}},"manifest":{"$ref":"#/components/schemas/Manifest"}}}}}},"responses":{"200":{"description":"The avatar, and what was skipped.","content":{"application/json":{"schema":{"type":"object","properties":{"manifest":{"$ref":"#/components/schemas/Manifest"},"avatar":{"$ref":"#/components/schemas/Avatar"},"skipped":{"type":"array","items":{"type":"object"}}}}}}},"400":{"$ref":"#/components/responses/Error"}},"security":[]}},"/avatar/describe":{"post":{"operationId":"describeAvatar","summary":"An avatar read back as items, colours and shape","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["manifest"],"properties":{"manifest":{"$ref":"#/components/schemas/Manifest"}}}}}},"responses":{"200":{"description":"The avatar.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Avatar"}}}},"400":{"$ref":"#/components/responses/Error"}},"security":[]}},"/avatar/check":{"post":{"operationId":"checkAvatar","summary":"Whether an Xbox 360 account could save this avatar","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["manifest"],"properties":{"manifest":{"$ref":"#/components/schemas/Manifest"}}}}}},"responses":{"200":{"description":"{ ok, why, message, items, mustOwn }."},"400":{"$ref":"#/components/responses/Error"}},"security":[]}},"/apps/{id}":{"get":{"operationId":"getApp","summary":"Your app's settings","security":[{"appKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Settings, and the sign-in link.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","maxLength":40},"wants":{"type":"array","items":{"enum":["signin","lookup"]}},"redirect":{"type":"string"},"scopes":{"type":"array","items":{"type":"string"}},"brand":{"type":"object","properties":{"logo":{"type":"string"},"accent":{"type":"string"},"developer":{"type":"string"},"tagline":{"type":"string"},"homepage":{"type":"string"},"privacy":{"type":"string"},"terms":{"type":"string"},"support":{"type":"string"}}},"pickAvatar":{"type":"boolean"},"avatarStyle":{"enum":["costume","plain"]},"origins":{"type":"array","maxItems":10,"items":{"type":"string","examples":["https://your-site.com","http://localhost"]},"description":"Where pages using the Renderer SDK run: https://host[:port], or http://localhost / http://127.0.0.1 (no port means any port) while you develop."},"sdk":{"type":"object","description":"The Renderer SDK for this app.","properties":{"agreed":{"type":["integer","null"],"description":"When the SDK Licence was accepted (ms since 1970), or null."},"downloads":{"type":"integer"},"version":{"type":["string","null"]},"last":{"type":["integer","null"]}}}}}}}},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"}}},"put":{"operationId":"updateApp","summary":"Change your app's settings","description":"Send only what changes; \"\" clears a brand field. Scopes are limited to read access plus what a person approved.","security":[{"appKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","maxLength":40},"wants":{"type":"array","items":{"enum":["signin","lookup"]}},"redirect":{"type":"string"},"scopes":{"type":"array","items":{"type":"string"}},"brand":{"type":"object","properties":{"logo":{"type":"string"},"accent":{"type":"string"},"developer":{"type":"string"},"tagline":{"type":"string"},"homepage":{"type":"string"},"privacy":{"type":"string"},"terms":{"type":"string"},"support":{"type":"string"}}},"pickAvatar":{"type":"boolean"},"avatarStyle":{"enum":["costume","plain"]},"origins":{"type":"array","maxItems":10,"items":{"type":"string","examples":["https://your-site.com","http://localhost"]},"description":"Where pages using the Renderer SDK run: https://host[:port], or http://localhost / http://127.0.0.1 (no port means any port) while you develop."}}}}}},"responses":{"200":{"description":"The new settings.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","maxLength":40},"wants":{"type":"array","items":{"enum":["signin","lookup"]}},"redirect":{"type":"string"},"scopes":{"type":"array","items":{"type":"string"}},"brand":{"type":"object","properties":{"logo":{"type":"string"},"accent":{"type":"string"},"developer":{"type":"string"},"tagline":{"type":"string"},"homepage":{"type":"string"},"privacy":{"type":"string"},"terms":{"type":"string"},"support":{"type":"string"}}},"pickAvatar":{"type":"boolean"},"avatarStyle":{"enum":["costume","plain"]},"origins":{"type":"array","maxItems":10,"items":{"type":"string","examples":["https://your-site.com","http://localhost"]},"description":"Where pages using the Renderer SDK run: https://host[:port], or http://localhost / http://127.0.0.1 (no port means any port) while you develop."},"sdk":{"type":"object","description":"The Renderer SDK for this app.","properties":{"agreed":{"type":["integer","null"],"description":"When the SDK Licence was accepted (ms since 1970), or null."},"downloads":{"type":"integer"},"version":{"type":["string","null"]},"last":{"type":["integer","null"]}}}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"}}},"delete":{"operationId":"deleteApp","summary":"Delete your app and end its sign-ins","security":[{"appKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Deleted."},"401":{"$ref":"#/components/responses/Error"}}}},"/apps/{id}/key":{"post":{"operationId":"rotateAppKey","summary":"A new key; the old one stops working","security":[{"appKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"{ id, key }, shown once."},"401":{"$ref":"#/components/responses/Error"}}}},"/apps/{id}/sdk-licence":{"post":{"operationId":"acceptSdkLicence","summary":"Accept the SDK Licence","description":"Read https://360sona.com/devterms.html#sdk-licence first. agree must be exactly \"I have read and understand the SDK Licence\". Accepted once per app; later calls return the same time.","security":[{"appKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["agree"],"properties":{"agree":{"const":"I have read and understand the SDK Licence"}}}}}},"responses":{"200":{"description":"{ ok, agreed, next }"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"}}}},"/apps/{id}/sdk":{"get":{"operationId":"downloadSdk","summary":"Download the Renderer SDK, made for this app","description":"A zip stamped with your app id. Needs the SDK Licence accepted. 10 an hour per app. Every download is logged.","security":[{"appKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The package.","headers":{"Content-Disposition":{"schema":{"type":"string"},"description":"attachment; filename=\"360sona-renderer-sdk-<version>.zip\""},"X-Sona-SDK-SHA256":{"schema":{"type":"string"},"description":"SHA-256 of the zip, hex."},"X-Sona-SDK-Version":{"schema":{"type":"string"}}},"content":{"application/zip":{"schema":{"type":"string","contentMediaType":"application/zip"}}}},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/sdk":{"get":{"operationId":"getSdk","summary":"The Renderer SDK: version, files, licence and price","description":"Free. Show \"Powered by 360sona\" linking to https://360sona.com.","security":[],"responses":{"200":{"description":"What the SDK is.","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"version":{"type":["string","null"]},"available":{"type":"boolean"},"files":{"type":"array","items":{"type":"string"}},"price":{"const":"free"},"credit":{"type":"string"},"licence":{"type":"string","format":"uri"},"page":{"type":"string","format":"uri"},"docs":{"type":"string","format":"uri"},"download":{"type":"string"}}}}}}}}},"/sdk/check":{"get":{"operationId":"checkSdkOrigin","summary":"May a page on this origin use the SDK under this app id","description":"What the SDK's hidden 360sona frame asks before it streams anything. 600 an hour per address. 403 bodies carry code \"origin\" or \"licence\" and a fix.","security":[],"parameters":[{"name":"app","in":"query","required":true,"schema":{"type":"string"}},{"name":"origin","in":"query","required":true,"schema":{"type":"string"},"description":"The page origin, as location.origin gives it."}],"responses":{"200":{"description":"Allowed.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"const":true},"app":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}}},"credit":{"type":"object","properties":{"text":{"type":"string"},"url":{"type":"string"}}}}}}}},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"}}}},"/sdk/bridge/{app}":{"get":{"operationId":"sdkBridge","summary":"The SDK's hidden asset frame (used by the SDK, not called directly)","description":"An HTML page that only the app's registered origins can frame (Content-Security-Policy frame-ancestors). It answers only the SDK, over postMessage.","security":[],"parameters":[{"name":"app","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"The frame.","content":{"text/html":{"schema":{"type":"string"}}}},"404":{"description":"No such app."}}}}}}