{ "uuid": "99627709-0136-470e-844c-6fa9f0a1489d", "lastMigration": 29, "name": "Poly API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "88cd20d1-4c71-43ad-b1ba-d9e1ebe84fd1", "documentation": "Lists all public, remixable assets. These are assets with an access level of PUBLIC and published under the CC-By license.", "method": "get", "endpoint": "v1/assets", "responses": [ { "uuid": "3aff1d9e-b9fd-4abd-8f2e-a9e3ae688041", "body": "{\n \"assets\": [\n {\n \"authorName\": \"\",\n \"createTime\": \"\",\n \"description\": \"\",\n \"displayName\": \"\",\n \"formats\": [\n {\n \"formatComplexity\": {\n \"lodHint\": {{faker 'number.int' max=99999}},\n \"triangleCount\": \"\"\n },\n \"formatType\": \"\",\n \"resources\": [\n {\n \"contentType\": \"\",\n \"relativePath\": \"\",\n \"url\": \"\"\n }\n ],\n \"root\": {\n \"contentType\": \"\",\n \"relativePath\": \"\",\n \"url\": \"\"\n }\n }\n ],\n \"isCurated\": {{faker 'datatype.boolean'}},\n \"license\": \"{{oneOf (array 'UNKNOWN' 'CREATIVE_COMMONS_BY' 'ALL_RIGHTS_RESERVED')}}\",\n \"metadata\": \"\",\n \"name\": \"\",\n \"presentationParams\": {\n \"backgroundColor\": \"\",\n \"colorSpace\": \"{{oneOf (array 'UNKNOWN' 'LINEAR' 'GAMMA')}}\",\n \"orientingRotation\": {\n \"w\": {{faker 'number.float'}},\n \"x\": {{faker 'number.float'}},\n \"y\": {{faker 'number.float'}},\n \"z\": {{faker 'number.float'}}\n }\n },\n \"remixInfo\": {\n \"sourceAsset\": [\n \"\"\n ]\n },\n \"thumbnail\": {\n \"contentType\": \"\",\n \"relativePath\": \"\",\n \"url\": \"\"\n },\n \"updateTime\": \"\",\n \"visibility\": \"{{oneOf (array 'VISIBILITY_UNSPECIFIED' 'PRIVATE' 'UNLISTED' 'PUBLIC')}}\"\n }\n ],\n \"nextPageToken\": \"\",\n \"totalSize\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "bf1d42c8-be94-4b4d-8233-dc2c6c5fe414", "documentation": "Returns detailed information about an asset given its name. PRIVATE assets are returned only if the currently authenticated user (via OAuth token) is the author of the asset.", "method": "get", "endpoint": "v1/:name", "responses": [ { "uuid": "df1eaeb3-9535-4022-ac12-4b698e81537d", "body": "{\n \"authorName\": \"\",\n \"createTime\": \"\",\n \"description\": \"\",\n \"displayName\": \"\",\n \"formats\": [\n {\n \"formatComplexity\": {\n \"lodHint\": {{faker 'number.int' max=99999}},\n \"triangleCount\": \"\"\n },\n \"formatType\": \"\",\n \"resources\": [\n {\n \"contentType\": \"\",\n \"relativePath\": \"\",\n \"url\": \"\"\n }\n ],\n \"root\": {\n \"contentType\": \"\",\n \"relativePath\": \"\",\n \"url\": \"\"\n }\n }\n ],\n \"isCurated\": {{faker 'datatype.boolean'}},\n \"license\": \"{{oneOf (array 'UNKNOWN' 'CREATIVE_COMMONS_BY' 'ALL_RIGHTS_RESERVED')}}\",\n \"metadata\": \"\",\n \"name\": \"\",\n \"presentationParams\": {\n \"backgroundColor\": \"\",\n \"colorSpace\": \"{{oneOf (array 'UNKNOWN' 'LINEAR' 'GAMMA')}}\",\n \"orientingRotation\": {\n \"w\": {{faker 'number.float'}},\n \"x\": {{faker 'number.float'}},\n \"y\": {{faker 'number.float'}},\n \"z\": {{faker 'number.float'}}\n }\n },\n \"remixInfo\": {\n \"sourceAsset\": [\n \"\"\n ]\n },\n \"thumbnail\": {\n \"contentType\": \"\",\n \"relativePath\": \"\",\n \"url\": \"\"\n },\n \"updateTime\": \"\",\n \"visibility\": \"{{oneOf (array 'VISIBILITY_UNSPECIFIED' 'PRIVATE' 'UNLISTED' 'PUBLIC')}}\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c5d7a6a8-607a-4697-b3d0-f7479a4a6808", "documentation": "Lists assets authored by the given user. Only the value 'me', representing the currently-authenticated user, is supported. May include assets with an access level of PRIVATE or UNLISTED and assets which are All Rights Reserved for the currently-authenticated user.", "method": "get", "endpoint": "v1/:name/assets", "responses": [ { "uuid": "20f5f408-a993-49bb-9bb1-79e303825429", "body": "{\n \"nextPageToken\": \"\",\n \"totalSize\": {{faker 'number.int' max=99999}},\n \"userAssets\": [\n {\n \"asset\": {\n \"authorName\": \"\",\n \"createTime\": \"\",\n \"description\": \"\",\n \"displayName\": \"\",\n \"formats\": [\n {\n \"formatComplexity\": {\n \"lodHint\": {{faker 'number.int' max=99999}},\n \"triangleCount\": \"\"\n },\n \"formatType\": \"\",\n \"resources\": [\n {\n \"contentType\": \"\",\n \"relativePath\": \"\",\n \"url\": \"\"\n }\n ],\n \"root\": {\n \"contentType\": \"\",\n \"relativePath\": \"\",\n \"url\": \"\"\n }\n }\n ],\n \"isCurated\": {{faker 'datatype.boolean'}},\n \"license\": \"{{oneOf (array 'UNKNOWN' 'CREATIVE_COMMONS_BY' 'ALL_RIGHTS_RESERVED')}}\",\n \"metadata\": \"\",\n \"name\": \"\",\n \"presentationParams\": {\n \"backgroundColor\": \"\",\n \"colorSpace\": \"{{oneOf (array 'UNKNOWN' 'LINEAR' 'GAMMA')}}\",\n \"orientingRotation\": {\n \"w\": {{faker 'number.float'}},\n \"x\": {{faker 'number.float'}},\n \"y\": {{faker 'number.float'}},\n \"z\": {{faker 'number.float'}}\n }\n },\n \"remixInfo\": {\n \"sourceAsset\": [\n \"\"\n ]\n },\n \"thumbnail\": {\n \"contentType\": \"\",\n \"relativePath\": \"\",\n \"url\": \"\"\n },\n \"updateTime\": \"\",\n \"visibility\": \"{{oneOf (array 'VISIBILITY_UNSPECIFIED' 'PRIVATE' 'UNLISTED' 'PUBLIC')}}\"\n }\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f9a695cb-159c-42ad-8617-61fbca4c7db8", "documentation": "Lists assets that the user has liked. Only the value 'me', representing the currently-authenticated user, is supported. May include assets with an access level of UNLISTED.", "method": "get", "endpoint": "v1/:name/likedassets", "responses": [ { "uuid": "d3af3b39-d305-4597-8288-1281428b37f0", "body": "{\n \"assets\": [\n {\n \"authorName\": \"\",\n \"createTime\": \"\",\n \"description\": \"\",\n \"displayName\": \"\",\n \"formats\": [\n {\n \"formatComplexity\": {\n \"lodHint\": {{faker 'number.int' max=99999}},\n \"triangleCount\": \"\"\n },\n \"formatType\": \"\",\n \"resources\": [\n {\n \"contentType\": \"\",\n \"relativePath\": \"\",\n \"url\": \"\"\n }\n ],\n \"root\": {\n \"contentType\": \"\",\n \"relativePath\": \"\",\n \"url\": \"\"\n }\n }\n ],\n \"isCurated\": {{faker 'datatype.boolean'}},\n \"license\": \"{{oneOf (array 'UNKNOWN' 'CREATIVE_COMMONS_BY' 'ALL_RIGHTS_RESERVED')}}\",\n \"metadata\": \"\",\n \"name\": \"\",\n \"presentationParams\": {\n \"backgroundColor\": \"\",\n \"colorSpace\": \"{{oneOf (array 'UNKNOWN' 'LINEAR' 'GAMMA')}}\",\n \"orientingRotation\": {\n \"w\": {{faker 'number.float'}},\n \"x\": {{faker 'number.float'}},\n \"y\": {{faker 'number.float'}},\n \"z\": {{faker 'number.float'}}\n }\n },\n \"remixInfo\": {\n \"sourceAsset\": [\n \"\"\n ]\n },\n \"thumbnail\": {\n \"contentType\": \"\",\n \"relativePath\": \"\",\n \"url\": \"\"\n },\n \"updateTime\": \"\",\n \"visibility\": \"{{oneOf (array 'VISIBILITY_UNSPECIFIED' 'PRIVATE' 'UNLISTED' 'PUBLIC')}}\"\n }\n ],\n \"nextPageToken\": \"\",\n \"totalSize\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "88cd20d1-4c71-43ad-b1ba-d9e1ebe84fd1" }, { "type": "route", "uuid": "bf1d42c8-be94-4b4d-8233-dc2c6c5fe414" }, { "type": "route", "uuid": "c5d7a6a8-607a-4697-b3d0-f7479a4a6808" }, { "type": "route", "uuid": "f9a695cb-159c-42ad-8617-61fbca4c7db8" } ] }