{
  "opencollection": "1.0.0",
  "info": {
    "name": "Google Pub/Sub Google Cloud Pub/Sub Publish Subscriptions 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": "Subscriptions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Google Pub/Sub List subscriptions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://pubsub.googleapis.com/v1/projects/:project/subscriptions",
            "params": [
              {
                "name": "project",
                "value": "",
                "type": "path"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query"
              },
              {
                "name": "pageToken",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Lists matching subscriptions in the given project."
        },
        {
          "info": {
            "name": "Google Pub/Sub Get a subscription",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://pubsub.googleapis.com/v1/projects/:project/subscriptions/:subscription",
            "params": [
              {
                "name": "project",
                "value": "",
                "type": "path"
              },
              {
                "name": "subscription",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Gets the configuration details of a subscription."
        },
        {
          "info": {
            "name": "Google Pub/Sub Create a subscription",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://pubsub.googleapis.com/v1/projects/:project/subscriptions/:subscription",
            "params": [
              {
                "name": "project",
                "value": "",
                "type": "path"
              },
              {
                "name": "subscription",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a subscription to a given topic. If the subscription already exists, returns ALREADY_EXISTS."
        },
        {
          "info": {
            "name": "Google Pub/Sub Delete a subscription",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://pubsub.googleapis.com/v1/projects/:project/subscriptions/:subscription",
            "params": [
              {
                "name": "project",
                "value": "",
                "type": "path"
              },
              {
                "name": "subscription",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Deletes an existing subscription."
        }
      ]
    }
  ],
  "bundled": true
}