{
  "url": "https://telipot.com/catalog/capabilities/search-console.sites.get",
  "id": "search-console.sites.get",
  "description": "One site's permission level on the connected Search Console account",
  "platform": "search-console",
  "providers": [
    {
      "slug": "google-search-console",
      "name": "Google Search Console"
    }
  ],
  "tasks": 1,
  "taskPages": [
    {
      "id": "google-search-console.sites.get",
      "name": "Permission level on one site by its URL",
      "provider": {
        "slug": "google-search-console",
        "name": "Google Search Console"
      },
      "capability": "search-console.sites.get",
      "platform": "search-console",
      "kind": "data",
      "tier": "core",
      "identity": "account",
      "identityLabel": "Company account",
      "price": {
        "amount": "Free",
        "state": "free",
        "label": "Free",
        "detail": "Free from the tool",
        "type": "free"
      },
      "providers": 1,
      "retention": "standard",
      "runsOn": "free",
      "live": true,
      "summary": "Retrieves information about specific site.",
      "method": "GET",
      "path": "/webmasters/v3/sites/{siteUrl}",
      "host": "https://searchconsole.googleapis.com",
      "docsUrl": "https://developers.google.com/webmaster-tools/v1/sites/get",
      "auth": {
        "scheme": "oauth",
        "label": "oauth · OAuth 2.0 with PKCE",
        "short": "oauth · OAuth 2.0"
      },
      "scope": "own_account",
      "principal": "organization",
      "requiredScopes": [
        "webmasters.readonly"
      ],
      "verification": {
        "state": "none",
        "label": "Not verified yet",
        "detail": "Not checked yet. We test with a real request before we mark it."
      },
      "input": [
        {
          "name": "siteUrl",
          "location": "pathParams",
          "type": "string",
          "required": true,
          "constraints": [],
          "note": "The property as sites.list returns it, a URL-prefix property with its trailing slash or a domain property written sc-domain:example.com"
        }
      ],
      "sampleInput": {
        "siteUrl": "sc-domain:example.com"
      },
      "inputSchema": {
        "type": "object",
        "properties": {
          "siteUrl": {
            "type": "string",
            "description": "The property as sites.list returns it, a URL-prefix property with its trailing slash or a domain property written sc-domain:example.com",
            "examples": [
              "sc-domain:example.com"
            ]
          }
        },
        "required": [
          "siteUrl"
        ],
        "additionalProperties": false
      },
      "output": [
        {
          "name": "siteUrl",
          "type": "string"
        },
        {
          "name": "permissionLevel",
          "type": "string",
          "description": "siteOwner, siteFullUser, siteRestrictedUser or siteUnverifiedUser"
        }
      ],
      "outputSchema": {
        "type": "object",
        "required": [
          "siteUrl",
          "permissionLevel"
        ],
        "properties": {
          "siteUrl": {
            "type": "string"
          },
          "permissionLevel": {
            "type": "string",
            "description": "siteOwner, siteFullUser, siteRestrictedUser or siteUnverifiedUser"
          }
        }
      },
      "example": {
        "file": "examples/google-search-console.sites.get.json",
        "json": {
          "siteUrl": "sc-domain:example.com",
          "permissionLevel": "siteOwner"
        }
      },
      "commands": {
        "mode": "run",
        "cli": "telipot run google-search-console.sites.get \\\n  --input-json '{\"siteUrl\":\"sc-domain:example.com\"}'",
        "http": "curl https://api.telipot.com/v1/tasks/google-search-console.sites.get/run \\\n  -H \"Authorization: Bearer $TELIPOT_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"siteUrl\":\"sc-domain:example.com\"}'",
        "quote": "telipot run google-search-console.sites.get \\\n  --input-json '{\"siteUrl\":\"sc-domain:example.com\"}' \\\n  --quote"
      },
      "siblings": []
    }
  ]
}
