GitLab · Schema

DeviceAuthorizationRequest

DeviceAuthorizationRequest from GitLab API

CodePlatformSoftware DevelopmentSource Control

Properties

Name Type Description
client_id string The application ID registered in GitLab.
scope string Space-separated list of requested scopes.
View JSON Schema on GitHub

JSON Schema

gitlab-oauth2-device-authorization-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/json-schema/gitlab-oauth2-device-authorization-request-schema.json",
  "title": "DeviceAuthorizationRequest",
  "description": "DeviceAuthorizationRequest from GitLab API",
  "type": "object",
  "properties": {
    "client_id": {
      "type": "string",
      "description": "The application ID registered in GitLab.",
      "example": "123456"
    },
    "scope": {
      "type": "string",
      "description": "Space-separated list of requested scopes.",
      "example": "example_value"
    }
  },
  "required": [
    "client_id"
  ]
}