Share feedback
Answers are generated based on the documentation.

Schema

getAccessTokensResponse

Type: object

active_count

Type: number

All schema constraints and annotations
{
  "example": 1,
  "type": "number"
}
count

Type: number

All schema constraints and annotations
{
  "example": 1,
  "type": "number"
}
next

Type: string | null

All schema constraints and annotations
{
  "example": null,
  "type": [
    "string",
    "null"
  ]
}
previous

Type: string | null

All schema constraints and annotations
{
  "example": null,
  "type": [
    "string",
    "null"
  ]
}
results

Type: array

Array item
All constraints apply

Schema: accessToken

All schema constraints and annotations
{
  "$ref": "#/components/schemas/accessToken"
}

Type: object

All schema constraints and annotations
{
  "properties": {
    "token": {
      "example": "***",
      "type": "string"
    }
  },
  "type": "object"
}
All schema constraints and annotations
{
  "allOf": [
    {
      "$ref": "#/components/schemas/accessToken"
    },
    {
      "properties": {
        "token": {
          "example": "***",
          "type": "string"
        }
      },
      "type": "object"
    }
  ]
}
All schema constraints and annotations
{
  "items": {
    "allOf": [
      {
        "$ref": "#/components/schemas/accessToken"
      },
      {
        "properties": {
          "token": {
            "example": "***",
            "type": "string"
          }
        },
        "type": "object"
      }
    ]
  },
  "type": "array"
}
All schema constraints and annotations
{
  "examples": [
    {
      "active_count": 1,
      "count": 1,
      "next": null,
      "previous": null,
      "results": [
        {
          "client_id": "HUB",
          "created_at": "2021-07-20T12:00:00.000000Z",
          "creator_ip": "127.0.0.1",
          "creator_ua": "some user agent",
          "expires_at": "2021-10-28T18:30:19.520861Z",
          "generated_by": "manual",
          "is_active": true,
          "last_used": null,
          "scopes": [
            "repo:read"
          ],
          "token": "***",
          "token_label": "My read only token",
          "uuid": "b30bbf97-506c-4ecd-aabc-842f3cb484fb"
        }
      ]
    }
  ],
  "properties": {
    "active_count": {
      "example": 1,
      "type": "number"
    },
    "count": {
      "example": 1,
      "type": "number"
    },
    "next": {
      "example": null,
      "type": [
        "string",
        "null"
      ]
    },
    "previous": {
      "example": null,
      "type": [
        "string",
        "null"
      ]
    },
    "results": {
      "items": {
        "allOf": [
          {
            "$ref": "#/components/schemas/accessToken"
          },
          {
            "properties": {
              "token": {
                "example": "***",
                "type": "string"
              }
            },
            "type": "object"
          }
        ]
      },
      "type": "array"
    }
  },
  "type": "object"
}