{ "opencollection": "1.0.0", "info": { "name": "Google Cloud Pub/Sub Schemas API", "version": "v1" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://accounts.google.com/o/oauth2/auth", "accessTokenUrl": "https://oauth2.googleapis.com/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Schemas", "type": "folder" }, "items": [ { "info": { "name": "Google Cloud Pub/Sub List schemas", "type": "http" }, "http": { "method": "GET", "url": "https://pubsub.googleapis.com/v1/projects/:projectId/schemas", "params": [ { "name": "projectId", "value": "", "type": "path" }, { "name": "pageSize", "value": "", "type": "query" }, { "name": "pageToken", "value": "", "type": "query" } ] }, "docs": "Lists schemas in a project." }, { "info": { "name": "Google Cloud Pub/Sub Create a schema", "type": "http" }, "http": { "method": "POST", "url": "https://pubsub.googleapis.com/v1/projects/:projectId/schemas", "params": [ { "name": "projectId", "value": "", "type": "path" }, { "name": "schemaId", "value": "", "type": "query" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a schema in a project." } ] } ], "bundled": true }