{
  "opencollection": "1.0.0",
  "info": {
    "name": "Google Search Console Search Analytics Sites API",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://accounts.google.com/o/oauth2/v2/auth",
      "accessTokenUrl": "https://oauth2.googleapis.com/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Sites",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Google Search Console List Sites",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://searchconsole.googleapis.com/webmasters/v3/sites",
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://accounts.google.com/o/oauth2/v2/auth",
              "accessTokenUrl": "https://oauth2.googleapis.com/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Lists the user's Search Console sites. Returns all sites that the authenticated user has been verified for or has been granted access to through delegation."
        },
        {
          "info": {
            "name": "Google Search Console Get Site Details",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://searchconsole.googleapis.com/webmasters/v3/sites/:siteUrl",
            "params": [
              {
                "name": "siteUrl",
                "value": "https://example.com/",
                "type": "path",
                "description": "The site's URL, including protocol. For domain properties, use the format sc-domain:example.com. For URL-prefix properties, use the full URL (e.g., https://example.com/). The URL must be encoded."
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://accounts.google.com/o/oauth2/v2/auth",
              "accessTokenUrl": "https://oauth2.googleapis.com/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Retrieves information about a specific site, including its permission level for the authenticated user."
        },
        {
          "info": {
            "name": "Google Search Console Add a Site",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://searchconsole.googleapis.com/webmasters/v3/sites/:siteUrl",
            "params": [
              {
                "name": "siteUrl",
                "value": "https://example.com/",
                "type": "path",
                "description": "The site's URL, including protocol. For domain properties, use the format sc-domain:example.com. For URL-prefix properties, use the full URL (e.g., https://example.com/). The URL must be encoded."
              }
            ]
          },
          "docs": "Adds a site to the set of the user's Search Console sites. The site URL must be a valid property URL. After adding, the site must still be verified before full data access is granted."
        },
        {
          "info": {
            "name": "Google Search Console Remove a Site",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://searchconsole.googleapis.com/webmasters/v3/sites/:siteUrl",
            "params": [
              {
                "name": "siteUrl",
                "value": "https://example.com/",
                "type": "path",
                "description": "The site's URL, including protocol. For domain properties, use the format sc-domain:example.com. For URL-prefix properties, use the full URL (e.g., https://example.com/). The URL must be encoded."
              }
            ]
          },
          "docs": "Removes a site from the set of the user's Search Console sites. This does not delete any data associated with the site."
        }
      ]
    }
  ],
  "bundled": true
}