Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #4207

Closed
Open
Created Jun 05, 2013 by Administrator@rootOwner

Documentation For Users (Blocked)

Created by: bassrock

It looks like there is an issue with api documentation for the /users api call to get a list of users. The documentation states a boolean while the api is actually returning a state parameter. Also seems to be the same type of issue as #3356 (closed)

Documentation:

{
    "id": 1,
    "username": "john_smith",
    "email": "[email protected]",
    "name": "John Smith",
    "blocked": false,
    "created_at": "2012-05-23T08:00:58Z",
    "bio": null,
    "skype": "",
    "linkedin": "",
    "twitter": "",
    "dark_scheme": false,
    "extern_uid": "john.smith",
    "provider": "provider_name",
    "theme_id": 1
  },

Actual Response:

{
   " bio": null,
    "created_at": "2012-02-10T08:56:20Z",
    "email":  "test@test",
    "extern_uid": null,
    "id": 6,
    "linkedin": "",
    "name": "test test",
    "provider": null,
    "skype": "test",
    "state": blocked,
    "theme_id": 1,
    "twitter": "",
    "username": "test",
}
Assignee
Assign to
Time tracking