{
  "url": "https://telipot.com/catalog/tasks/google-calendar.profile.get",
  "id": "google-calendar.profile.get",
  "name": "Address and time zone of the connected Calendar account",
  "provider": {
    "slug": "google-calendar",
    "name": "Google Calendar"
  },
  "capability": "calendar.profile",
  "platform": "calendar",
  "kind": "utility",
  "tier": "core",
  "identity": "user",
  "identityLabel": "Person’s own",
  "price": {
    "amount": "Free",
    "state": "free",
    "label": "Free",
    "detail": "Free from the tool",
    "type": "free"
  },
  "providers": 1,
  "retention": "standard",
  "runsOn": "free",
  "live": true,
  "summary": "Returns metadata for a calendar.",
  "method": "GET",
  "path": "/calendar/v3/calendars/primary",
  "host": "https://www.googleapis.com",
  "docsUrl": "https://developers.google.com/workspace/calendar/api/v3/reference/calendars/get",
  "auth": {
    "scheme": "oauth",
    "label": "oauth · OAuth 2.0 with PKCE",
    "short": "oauth · OAuth 2.0"
  },
  "scope": "own_account",
  "principal": "user",
  "requiredScopes": [
    "calendar.readonly"
  ],
  "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": "id",
      "type": "string",
      "description": "The address of the account and the id of its primary calendar"
    },
    {
      "name": "summary",
      "type": "string",
      "description": "The title of the primary calendar; it is the address"
    },
    {
      "name": "description",
      "type": "string"
    },
    {
      "name": "location",
      "type": "string"
    },
    {
      "name": "timeZone",
      "type": "string",
      "description": "An IANA time zone name"
    },
    {
      "name": "conferenceProperties",
      "type": "object"
    },
    {
      "name": "etag",
      "type": "string"
    },
    {
      "name": "kind",
      "type": "string"
    }
  ],
  "outputSchema": {
    "type": "object",
    "required": [
      "id"
    ],
    "properties": {
      "id": {
        "type": "string",
        "description": "The address of the account and the id of its primary calendar"
      },
      "summary": {
        "type": "string",
        "description": "The title of the primary calendar; it is the address"
      },
      "description": {
        "type": "string"
      },
      "location": {
        "type": "string"
      },
      "timeZone": {
        "type": "string",
        "description": "An IANA time zone name"
      },
      "conferenceProperties": {
        "type": "object",
        "properties": {
          "allowedConferenceSolutionTypes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "etag": {
        "type": "string"
      },
      "kind": {
        "type": "string"
      }
    }
  },
  "example": {
    "file": "examples/google-calendar.profile.get.json",
    "json": {
      "kind": "calendar#calendar",
      "etag": "\"EXAMPLEETAG\"",
      "id": "contact@example.com",
      "summary": "contact@example.com",
      "timeZone": "America/Los_Angeles",
      "conferenceProperties": {
        "allowedConferenceSolutionTypes": [
          "hangoutsMeet"
        ]
      }
    }
  },
  "commands": {
    "mode": "run",
    "cli": "telipot run google-calendar.profile.get \\\n  --input-json '{}' \\\n  --as user:ana",
    "http": "curl https://api.telipot.com/v1/tasks/google-calendar.profile.get/run \\\n  -H \"Authorization: Bearer $TELIPOT_TOKEN\" \\\n  -H \"Telipot-Principal: user:ana\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{}'",
    "quote": "telipot run google-calendar.profile.get \\\n  --input-json '{}' \\\n  --as user:ana \\\n  --quote"
  },
  "siblings": []
}
