Application Grant

The authorization associated with an OAuth Access.

APIs.ioEngineeringPlatform

Properties

Name Type Description
id integer
url string
app object
created_at string
updated_at string
scopes array
user object
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-application-grant-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/application-grant",
  "title": "Application Grant",
  "description": "The authorization associated with an OAuth Access.",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int64",
      "example": 1
    },
    "url": {
      "type": "string",
      "format": "uri",
      "example": "https://api.github.com/applications/grants/1"
    },
    "app": {
      "type": "object",
      "properties": {
        "client_id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "format": "uri"
        }
      },
      "required": [
        "client_id",
        "name",
        "url"
      ]
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "example": "2011-09-06T17:26:27Z"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "example": "2011-09-06T20:39:23Z"
    },
    "scopes": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "example": [
        "public_repo"
      ]
    },
    "user": {
      "$ref": "#/components/schemas/nullable-simple-user"
    }
  },
  "required": [
    "app",
    "id",
    "scopes",
    "url",
    "created_at",
    "updated_at"
  ]
}