{ "uuid": "8c420074-501a-4296-ba80-065c06e5118a", "lastMigration": 19, "name": "YouTube Reporting API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "0.0.0.0", "routes": [ { "uuid": "9d4a0e7b-1666-43d2-9ff9-8c3e9f1791ba", "documentation": "Lists jobs.", "method": "get", "endpoint": "v1/jobs", "responses": [ { "uuid": "2e9b52d6-217f-47e5-815a-4940ecd4d114", "body": "{\n \"jobs\": [\n {\n \"createTime\": \"\",\n \"expireTime\": \"\",\n \"id\": \"\",\n \"name\": \"\",\n \"reportTypeId\": \"\",\n \"systemManaged\": {{faker 'random.boolean'}}\n }\n ],\n \"nextPageToken\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "172d59e5-2316-49cb-9a06-6ebca6c2c44b", "documentation": "Creates a job and returns it.", "method": "post", "endpoint": "v1/jobs", "responses": [ { "uuid": "be712b72-8a6f-4f14-8729-f3f1fc940f62", "body": "{\n \"createTime\": \"\",\n \"expireTime\": \"\",\n \"id\": \"\",\n \"name\": \"\",\n \"reportTypeId\": \"\",\n \"systemManaged\": {{faker 'random.boolean'}}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "07fc722d-70e2-4e11-881f-251ec8124825", "documentation": "Deletes a job.", "method": "delete", "endpoint": "v1/jobs/:jobId", "responses": [ { "uuid": "0b75cc34-20cf-4cf5-8da8-d4525d03992c", "body": "{}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "5dba261d-f13c-49f3-9f2d-c48ab201f191", "documentation": "Gets a job.", "method": "get", "endpoint": "v1/jobs/:jobId", "responses": [ { "uuid": "1d388748-42fd-46ad-bd18-d68ce88898a9", "body": "{\n \"createTime\": \"\",\n \"expireTime\": \"\",\n \"id\": \"\",\n \"name\": \"\",\n \"reportTypeId\": \"\",\n \"systemManaged\": {{faker 'random.boolean'}}\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "4ac6b0a9-08b4-4707-befa-a44fb3c3d8bf", "documentation": "Lists reports created by a specific job. Returns NOT_FOUND if the job does not exist.", "method": "get", "endpoint": "v1/jobs/:jobId/reports", "responses": [ { "uuid": "c6613055-516b-4bbe-8042-33dccfb729f4", "body": "{\n \"nextPageToken\": \"\",\n \"reports\": [\n {\n \"createTime\": \"\",\n \"downloadUrl\": \"\",\n \"endTime\": \"\",\n \"id\": \"\",\n \"jobExpireTime\": \"\",\n \"jobId\": \"\",\n \"startTime\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "cfaccee4-af18-447b-abdc-1a6ca441277d", "documentation": "Gets the metadata of a specific report.", "method": "get", "endpoint": "v1/jobs/:jobId/reports/:reportId", "responses": [ { "uuid": "1120a0d2-8dfa-4501-a84b-403cdf976e94", "body": "{\n \"createTime\": \"\",\n \"downloadUrl\": \"\",\n \"endTime\": \"\",\n \"id\": \"\",\n \"jobExpireTime\": \"\",\n \"jobId\": \"\",\n \"startTime\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "9f911978-be1a-4034-82c7-bf04fc5fc25c", "documentation": "Method for media download. Download is supported on the URI `/v1/media/{+name}?alt=media`.", "method": "get", "endpoint": "v1/media/:resourceName", "responses": [ { "uuid": "ba98ef31-531a-46c7-8d41-bf7741228adf", "body": "{\n \"algorithm\": \"\",\n \"bigstoreObjectRef\": \"\",\n \"blobRef\": \"\",\n \"blobstore2Info\": {\n \"blobGeneration\": \"\",\n \"blobId\": \"\",\n \"downloadReadHandle\": \"\",\n \"readToken\": \"\",\n \"uploadMetadataContainer\": \"\"\n },\n \"compositeMedia\": [\n {\n \"blobRef\": \"\",\n \"blobstore2Info\": {\n \"blobGeneration\": \"\",\n \"blobId\": \"\",\n \"downloadReadHandle\": \"\",\n \"readToken\": \"\",\n \"uploadMetadataContainer\": \"\"\n },\n \"cosmoBinaryReference\": \"\",\n \"crc32cHash\": {{faker 'random.number'}},\n \"inline\": \"\",\n \"length\": \"\",\n \"md5Hash\": \"\",\n \"objectId\": {\n \"bucketName\": \"\",\n \"generation\": \"\",\n \"objectName\": \"\"\n },\n \"path\": \"\",\n \"referenceType\": \"{{oneOf (array 'PATH' 'BLOB_REF' 'INLINE' 'BIGSTORE_REF' 'COSMO_BINARY_REFERENCE')}}\",\n \"sha1Hash\": \"\"\n }\n ],\n \"contentType\": \"\",\n \"contentTypeInfo\": {\n \"bestGuess\": \"\",\n \"fromBytes\": \"\",\n \"fromFileName\": \"\",\n \"fromHeader\": \"\",\n \"fromUrlPath\": \"\"\n },\n \"cosmoBinaryReference\": \"\",\n \"crc32cHash\": {{faker 'random.number'}},\n \"diffChecksumsResponse\": {\n \"checksumsLocation\": {\n \"blobRef\": \"\",\n \"blobstore2Info\": {\n \"blobGeneration\": \"\",\n \"blobId\": \"\",\n \"downloadReadHandle\": \"\",\n \"readToken\": \"\",\n \"uploadMetadataContainer\": \"\"\n },\n \"cosmoBinaryReference\": \"\",\n \"crc32cHash\": {{faker 'random.number'}},\n \"inline\": \"\",\n \"length\": \"\",\n \"md5Hash\": \"\",\n \"objectId\": {\n \"bucketName\": \"\",\n \"generation\": \"\",\n \"objectName\": \"\"\n },\n \"path\": \"\",\n \"referenceType\": \"{{oneOf (array 'PATH' 'BLOB_REF' 'INLINE' 'BIGSTORE_REF' 'COSMO_BINARY_REFERENCE')}}\",\n \"sha1Hash\": \"\"\n },\n \"chunkSizeBytes\": \"\",\n \"objectLocation\": {\n \"blobRef\": \"\",\n \"blobstore2Info\": {\n \"blobGeneration\": \"\",\n \"blobId\": \"\",\n \"downloadReadHandle\": \"\",\n \"readToken\": \"\",\n \"uploadMetadataContainer\": \"\"\n },\n \"cosmoBinaryReference\": \"\",\n \"crc32cHash\": {{faker 'random.number'}},\n \"inline\": \"\",\n \"length\": \"\",\n \"md5Hash\": \"\",\n \"objectId\": {\n \"bucketName\": \"\",\n \"generation\": \"\",\n \"objectName\": \"\"\n },\n \"path\": \"\",\n \"referenceType\": \"{{oneOf (array 'PATH' 'BLOB_REF' 'INLINE' 'BIGSTORE_REF' 'COSMO_BINARY_REFERENCE')}}\",\n \"sha1Hash\": \"\"\n },\n \"objectSizeBytes\": \"\",\n \"objectVersion\": \"\"\n },\n \"diffDownloadResponse\": {\n \"objectLocation\": {\n \"blobRef\": \"\",\n \"blobstore2Info\": {\n \"blobGeneration\": \"\",\n \"blobId\": \"\",\n \"downloadReadHandle\": \"\",\n \"readToken\": \"\",\n \"uploadMetadataContainer\": \"\"\n },\n \"cosmoBinaryReference\": \"\",\n \"crc32cHash\": {{faker 'random.number'}},\n \"inline\": \"\",\n \"length\": \"\",\n \"md5Hash\": \"\",\n \"objectId\": {\n \"bucketName\": \"\",\n \"generation\": \"\",\n \"objectName\": \"\"\n },\n \"path\": \"\",\n \"referenceType\": \"{{oneOf (array 'PATH' 'BLOB_REF' 'INLINE' 'BIGSTORE_REF' 'COSMO_BINARY_REFERENCE')}}\",\n \"sha1Hash\": \"\"\n }\n },\n \"diffUploadRequest\": {\n \"checksumsInfo\": {\n \"blobRef\": \"\",\n \"blobstore2Info\": {\n \"blobGeneration\": \"\",\n \"blobId\": \"\",\n \"downloadReadHandle\": \"\",\n \"readToken\": \"\",\n \"uploadMetadataContainer\": \"\"\n },\n \"cosmoBinaryReference\": \"\",\n \"crc32cHash\": {{faker 'random.number'}},\n \"inline\": \"\",\n \"length\": \"\",\n \"md5Hash\": \"\",\n \"objectId\": {\n \"bucketName\": \"\",\n \"generation\": \"\",\n \"objectName\": \"\"\n },\n \"path\": \"\",\n \"referenceType\": \"{{oneOf (array 'PATH' 'BLOB_REF' 'INLINE' 'BIGSTORE_REF' 'COSMO_BINARY_REFERENCE')}}\",\n \"sha1Hash\": \"\"\n },\n \"objectInfo\": {\n \"blobRef\": \"\",\n \"blobstore2Info\": {\n \"blobGeneration\": \"\",\n \"blobId\": \"\",\n \"downloadReadHandle\": \"\",\n \"readToken\": \"\",\n \"uploadMetadataContainer\": \"\"\n },\n \"cosmoBinaryReference\": \"\",\n \"crc32cHash\": {{faker 'random.number'}},\n \"inline\": \"\",\n \"length\": \"\",\n \"md5Hash\": \"\",\n \"objectId\": {\n \"bucketName\": \"\",\n \"generation\": \"\",\n \"objectName\": \"\"\n },\n \"path\": \"\",\n \"referenceType\": \"{{oneOf (array 'PATH' 'BLOB_REF' 'INLINE' 'BIGSTORE_REF' 'COSMO_BINARY_REFERENCE')}}\",\n \"sha1Hash\": \"\"\n },\n \"objectVersion\": \"\"\n },\n \"diffUploadResponse\": {\n \"objectVersion\": \"\",\n \"originalObject\": {\n \"blobRef\": \"\",\n \"blobstore2Info\": {\n \"blobGeneration\": \"\",\n \"blobId\": \"\",\n \"downloadReadHandle\": \"\",\n \"readToken\": \"\",\n \"uploadMetadataContainer\": \"\"\n },\n \"cosmoBinaryReference\": \"\",\n \"crc32cHash\": {{faker 'random.number'}},\n \"inline\": \"\",\n \"length\": \"\",\n \"md5Hash\": \"\",\n \"objectId\": {\n \"bucketName\": \"\",\n \"generation\": \"\",\n \"objectName\": \"\"\n },\n \"path\": \"\",\n \"referenceType\": \"{{oneOf (array 'PATH' 'BLOB_REF' 'INLINE' 'BIGSTORE_REF' 'COSMO_BINARY_REFERENCE')}}\",\n \"sha1Hash\": \"\"\n }\n },\n \"diffVersionResponse\": {\n \"objectSizeBytes\": \"\",\n \"objectVersion\": \"\"\n },\n \"downloadParameters\": {\n \"allowGzipCompression\": {{faker 'random.boolean'}},\n \"ignoreRange\": {{faker 'random.boolean'}}\n },\n \"filename\": \"\",\n \"hash\": \"\",\n \"hashVerified\": {{faker 'random.boolean'}},\n \"inline\": \"\",\n \"isPotentialRetry\": {{faker 'random.boolean'}},\n \"length\": \"\",\n \"md5Hash\": \"\",\n \"mediaId\": \"\",\n \"objectId\": {\n \"bucketName\": \"\",\n \"generation\": \"\",\n \"objectName\": \"\"\n },\n \"path\": \"\",\n \"referenceType\": \"{{oneOf (array 'PATH' 'BLOB_REF' 'INLINE' 'GET_MEDIA' 'COMPOSITE_MEDIA' 'BIGSTORE_REF' 'DIFF_VERSION_RESPONSE' 'DIFF_CHECKSUMS_RESPONSE' 'DIFF_DOWNLOAD_RESPONSE' 'DIFF_UPLOAD_REQUEST' 'DIFF_UPLOAD_RESPONSE' 'COSMO_BINARY_REFERENCE' 'ARBITRARY_BYTES')}}\",\n \"sha1Hash\": \"\",\n \"sha256Hash\": \"\",\n \"timestamp\": \"\",\n \"token\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "51c5578c-2083-48d8-9d2c-e91109a55b6a", "documentation": "Lists report types.", "method": "get", "endpoint": "v1/reportTypes", "responses": [ { "uuid": "ab29bba4-349a-4555-be69-467758211f97", "body": "{\n \"nextPageToken\": \"\",\n \"reportTypes\": [\n {\n \"deprecateTime\": \"\",\n \"id\": \"\",\n \"name\": \"\",\n \"systemManaged\": {{faker 'random.boolean'}}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [ { "key": "", "value": "" } ], "proxyResHeaders": [ { "key": "", "value": "" } ] }