DocumentationAPI reference

Rust · 0.1.0

CreatePersonalAccessTokenResponse

Application protocol schema. Field names and inherited descriptions are kept in their original language.

Where this schema is used

These links are derived from direct references in the protocol snapshot. Follow the calling operation for authentication, accepted fields and runtime behavior; a reusable resource schema is not by itself a complete write request.

Shape and fields

object

FieldType / requirementDescription
personalAccessTokenallOf
PersonalAccessToken
The personal access token metadata.
tokenstringThe actual token value - only returned on creation. This is the only time the token value will be visible.

Complete schema

Use this complete JSON definition for constraints and nested structure. A field's presence here does not mean it is writable by every caller.

{
  "type": "object",
  "properties": {
    "personalAccessToken": {
      "allOf": [
        {
          "$ref": "#/components/schemas/PersonalAccessToken"
        }
      ],
      "description": "The personal access token metadata."
    },
    "token": {
      "type": "string",
      "description": "The actual token value - only returned on creation.\n This is the only time the token value will be visible."
    }
  }
}