{"components":{"schemas":{"ASCII":{"example":"aGVsbG8","type":"string"},"AssetKey":{"description":"S3 asset key for an icon image with retention information.","example":"3-1-47de4580-ae51-4650-acbb-d10c028cb0ac","type":"string"},"AssetSource":{},"GetAsset":{"properties":{"key":{"$ref":"#/components/schemas/AssetKey"},"token":{"$ref":"#/components/schemas/ASCII"},"user":{"$ref":"#/components/schemas/UUID"}},"required":["user","key"],"type":"object"},"GetAssetResponse":{"properties":{"available":{"type":"boolean"}},"required":["available"],"type":"object"},"UUID":{"example":"99db9768-04e3-4b5d-9268-831b6a25c4ab","format":"uuid","type":"string"}}},"info":{"title":"Wire-Server Federation API (cargohold)","version":""},"openapi":"3.0.0","paths":{"/get-asset":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"get-asset\"]\n\nAll federated endpoints expect origin domain header: `Wire-Origin-Domain`","operationId":"get-asset","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/GetAsset"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/GetAssetResponse"}}},"description":""},"400":{"description":"Invalid `body`"}},"tags":["cargohold"]}},"/stream-asset":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"stream-asset\"]\n\nAll federated endpoints expect origin domain header: `Wire-Origin-Domain`","operationId":"stream-asset","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/GetAsset"}}},"required":true},"responses":{"200":{"content":{"application/octet-stream":{"schema":{"$ref":"#/components/schemas/AssetSource"}}},"description":""},"400":{"description":"Invalid `body`"}},"tags":["cargohold"]}}}}