GitLab · Schema

API_Entities_UserBasic

API_Entities_UserBasic from GitLab API

CodePlatformSoftware DevelopmentSource Control

Properties

Name Type Description
id integer
username string
name string
state string
avatar_url string
avatar_path string
custom_attributes array
web_url string
email string
View JSON Schema on GitHub

JSON Schema

gitlab-openapi-original-api_entities_user-basic-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-openapi-original-api_entities_user-basic-schema.json",
  "title": "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": "[email protected]"
    }
  }
}