GitLab · JSON Structure

Gitlab Openapi Original Api_Entities_User Basic Structure

API_Entities_UserBasic from GitLab API

Type: object Properties: 9
CodePlatformSoftware DevelopmentSource Control

API_Entities_UserBasic is a JSON Structure definition published by GitLab, describing 9 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id username name state avatar_url avatar_path custom_attributes web_url email

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/json-structure/gitlab-openapi-original-api_entities_user-basic-structure.json",
  "name": "API_Entities_UserBasic",
  "description": "API_Entities_UserBasic from GitLab API",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int32",
      "example": 1
    },
    "username": {
      "type": "string",
      "example": "admin"
    },
    "name": {
      "type": "string",
      "example": "Administrator"
    },
    "state": {
      "type": "string",
      "example": "active"
    },
    "avatar_url": {
      "type": "string",
      "example": "https://gravatar.com/avatar/1"
    },
    "avatar_path": {
      "type": "string",
      "example": "/user/avatar/28/The-Big-Lebowski-400-400.png"
    },
    "custom_attributes": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/API_Entities_CustomAttribute"
      }
    },
    "web_url": {
      "type": "string",
      "example": "https://gitlab.example.com/root"
    },
    "email": {
      "type": "string",
      "example": "user@example.com"
    }
  }
}