{
  "url": "https://telipot.com/catalog/capabilities/search-console.userinfo",
  "id": "search-console.userinfo",
  "description": "The Google account behind a connected Search Console grant, with its id and address",
  "platform": "search-console",
  "providers": [
    {
      "slug": "google-search-console",
      "name": "Google Search Console"
    }
  ],
  "tasks": 1,
  "taskPages": [
    {
      "id": "google-search-console.userinfo.get",
      "name": "Id and address of the Google account behind the connection",
      "provider": {
        "slug": "google-search-console",
        "name": "Google Search Console"
      },
      "capability": "search-console.userinfo",
      "platform": "search-console",
      "kind": "utility",
      "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": "Returns profile information for the specified user.",
      "method": "GET",
      "path": "/v1/userinfo",
      "host": "https://openidconnect.googleapis.com",
      "docsUrl": "https://developers.google.com/identity/openid-connect/openid-connect#obtaininguserprofileinformation",
      "auth": {
        "scheme": "oauth",
        "label": "oauth · OAuth 2.0 with PKCE",
        "short": "oauth · OAuth 2.0"
      },
      "scope": "own_account",
      "principal": "organization",
      "requiredScopes": [
        "openid",
        "email"
      ],
      "verification": {
        "state": "none",
        "label": "Not verified yet",
        "detail": "Not checked yet. We test with a real request before we mark it."
      },
      "input": [],
      "sampleInput": {},
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      },
      "output": [
        {
          "name": "sub",
          "type": "string",
          "description": "The Google account's id, which never changes while the address can"
        },
        {
          "name": "email",
          "type": "string",
          "description": "The address of the Google account"
        },
        {
          "name": "email_verified",
          "type": "boolean",
          "description": "True when Google has verified the address"
        },
        {
          "name": "picture",
          "type": "string",
          "description": "The URL of the account's photo"
        }
      ],
      "outputSchema": {
        "type": "object",
        "required": [
          "sub"
        ],
        "properties": {
          "sub": {
            "type": "string",
            "description": "The Google account's id, which never changes while the address can"
          },
          "email": {
            "type": "string",
            "description": "The address of the Google account"
          },
          "email_verified": {
            "type": "boolean",
            "description": "True when Google has verified the address"
          },
          "picture": {
            "type": "string",
            "description": "The URL of the account's photo"
          }
        }
      },
      "example": {
        "file": "examples/google-search-console.userinfo.get.json",
        "json": {
          "sub": "110000000000000000001",
          "email": "contact@example.com",
          "email_verified": true,
          "picture": "https://example.com/photo.jpg"
        }
      },
      "commands": {
        "mode": "run",
        "cli": "telipot run google-search-console.userinfo.get \\\n  --input-json '{}'",
        "http": "curl https://api.telipot.com/v1/tasks/google-search-console.userinfo.get/run \\\n  -H \"Authorization: Bearer $TELIPOT_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{}'",
        "quote": "telipot run google-search-console.userinfo.get \\\n  --input-json '{}' \\\n  --quote"
      },
      "siblings": []
    }
  ]
}
