{ "uuid": "3698c6ad-4aeb-4e00-92d3-f115d6ab3beb", "lastMigration": 29, "name": "YouTube Reporting API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "817fa9e6-4070-4d7c-849f-522398c24eec", "documentation": "Lists jobs.", "method": "get", "endpoint": "v1/jobs", "responses": [ { "uuid": "59d3d6fb-c532-4e71-8b08-1533b2ed8176", "body": "{\n \"jobs\": [\n {\n \"createTime\": \"\",\n \"expireTime\": \"\",\n \"id\": \"\",\n \"name\": \"\",\n \"reportTypeId\": \"\",\n \"systemManaged\": {{faker 'datatype.boolean'}}\n }\n ],\n \"nextPageToken\": \"\"\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": "0a749e93-93bb-461d-9cc5-00baca357308", "documentation": "Creates a job and returns it.", "method": "post", "endpoint": "v1/jobs", "responses": [ { "uuid": "88ceb76a-6cb0-4077-b442-6ecd993b93ee", "body": "{\n \"createTime\": \"\",\n \"expireTime\": \"\",\n \"id\": \"\",\n \"name\": \"\",\n \"reportTypeId\": \"\",\n \"systemManaged\": {{faker 'datatype.boolean'}}\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": "27608087-8fc6-44f9-bb8f-a9e3e04f1c8e", "documentation": "Deletes a job.", "method": "delete", "endpoint": "v1/jobs/:jobId", "responses": [ { "uuid": "c2e1cf8a-0aaf-4e37-bb29-a1edd9c176f2", "body": "{}", "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": "c27b47c7-1145-437f-873f-18687db21dec", "documentation": "Gets a job.", "method": "get", "endpoint": "v1/jobs/:jobId", "responses": [ { "uuid": "90ac78fa-5871-4d3e-ad5b-168d95c4a658", "body": "{\n \"createTime\": \"\",\n \"expireTime\": \"\",\n \"id\": \"\",\n \"name\": \"\",\n \"reportTypeId\": \"\",\n \"systemManaged\": {{faker 'datatype.boolean'}}\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": "bc2cb294-defb-4ad6-bb83-15e1bb746d9c", "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": "b52bc82c-9c84-4602-a917-9beaa91573ee", "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" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5542d0c6-ab42-42aa-a35b-990bf1a6f01e", "documentation": "Gets the metadata of a specific report.", "method": "get", "endpoint": "v1/jobs/:jobId/reports/:reportId", "responses": [ { "uuid": "b7aec4b1-a64b-417c-b5fd-e3a11b721707", "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" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "bf4ce024-bd86-4e76-903c-8edf65dfa09f", "documentation": "Method for media download. Download is supported on the URI `/v1/media/{+name}?alt=media`.", "method": "get", "endpoint": "v1/media/:resourceName", "responses": [ { "uuid": "d43caa2d-80f3-44dd-8402-4a68e9b06e03", "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 'number.int' max=99999}},\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 'number.int' max=99999}},\n \"diffChecksumsResponse\": {\n \"checksumsLocation\": {\n \"blobRef\": \"\",\n \"blobstore2Info\": {\n \"blobGeneration\": \"\",\n \"blobId\": \"\",\n \"downloadReadHandle\": \"\",\n \"readToken\": \"\",\n \"uploadMetadataContainer\": \"\"\n },\n \"cosmoBinaryReference\": \"\",\n \"crc32cHash\": {{faker 'number.int' max=99999}},\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 'number.int' max=99999}},\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 'number.int' max=99999}},\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 'number.int' max=99999}},\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 'number.int' max=99999}},\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 'number.int' max=99999}},\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 'datatype.boolean'}},\n \"ignoreRange\": {{faker 'datatype.boolean'}}\n },\n \"filename\": \"\",\n \"hash\": \"\",\n \"hashVerified\": {{faker 'datatype.boolean'}},\n \"inline\": \"\",\n \"isPotentialRetry\": {{faker 'datatype.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" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "efc80244-26a4-4069-93eb-fbbb2d3983fc", "documentation": "Lists report types.", "method": "get", "endpoint": "v1/reportTypes", "responses": [ { "uuid": "8391d1d2-a71e-4d69-a33a-78aeea6f6f9c", "body": "{\n \"nextPageToken\": \"\",\n \"reportTypes\": [\n {\n \"deprecateTime\": \"\",\n \"id\": \"\",\n \"name\": \"\",\n \"systemManaged\": {{faker 'datatype.boolean'}}\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" } ], "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": "817fa9e6-4070-4d7c-849f-522398c24eec" }, { "type": "route", "uuid": "0a749e93-93bb-461d-9cc5-00baca357308" }, { "type": "route", "uuid": "27608087-8fc6-44f9-bb8f-a9e3e04f1c8e" }, { "type": "route", "uuid": "c27b47c7-1145-437f-873f-18687db21dec" }, { "type": "route", "uuid": "bc2cb294-defb-4ad6-bb83-15e1bb746d9c" }, { "type": "route", "uuid": "5542d0c6-ab42-42aa-a35b-990bf1a6f01e" }, { "type": "route", "uuid": "bf4ce024-bd86-4e76-903c-8edf65dfa09f" }, { "type": "route", "uuid": "efc80244-26a4-4069-93eb-fbbb2d3983fc" } ] }