Commit 5cd42d20 authored by Małgorzata Ksionek's avatar Małgorzata Ksionek

Update user api docs

parent fdf31415
...@@ -305,8 +305,11 @@ Parameters: ...@@ -305,8 +305,11 @@ Parameters:
"website_url": "", "website_url": "",
"organization": "", "organization": "",
"job_title": "Operations Specialist", "job_title": "Operations Specialist",
"pronouns": "he/him",
"work_information": null,
"followers": 1, "followers": 1,
"following": 1 "following": 1,
"local_time": "3:38 PM"
} }
``` ```
...@@ -346,6 +349,11 @@ Example Responses: ...@@ -346,6 +349,11 @@ Example Responses:
"website_url": "", "website_url": "",
"organization": "", "organization": "",
"job_title": "Operations Specialist", "job_title": "Operations Specialist",
"pronouns": "he/him",
"work_information": null,
"followers": 1,
"following": 1,
"local_time": "3:38 PM",
"last_sign_in_at": "2012-06-01T11:41:01Z", "last_sign_in_at": "2012-06-01T11:41:01Z",
"confirmed_at": "2012-05-23T09:05:22Z", "confirmed_at": "2012-05-23T09:05:22Z",
"theme_id": 1, "theme_id": 1,
...@@ -605,13 +613,9 @@ GET /user ...@@ -605,13 +613,9 @@ GET /user
"external": false, "external": false,
"private_profile": false, "private_profile": false,
"commit_email": "admin@example.com", "commit_email": "admin@example.com",
"is_admin": true,
"note": null,
"namespace_id": 1,
"provisioned_by_group_id": null
} }
``` ```
Users on [GitLab Premium or higher](https://about.gitlab.com/pricing/) also see the `shared_runners_minutes_limit`, `extra_shared_runners_minutes_limit`, `is_auditor`, and `using_license_seat` parameters. Users on [GitLab Premium or higher](https://about.gitlab.com/pricing/) also see the `shared_runners_minutes_limit`, `extra_shared_runners_minutes_limit` parameters.
## List current user (for admins) ## List current user (for admins)
...@@ -668,7 +672,8 @@ Parameters: ...@@ -668,7 +672,8 @@ Parameters:
"commit_email": "john-codes@example.com", "commit_email": "john-codes@example.com",
"current_sign_in_ip": "196.165.1.102", "current_sign_in_ip": "196.165.1.102",
"last_sign_in_ip": "172.127.2.22", "last_sign_in_ip": "172.127.2.22",
"namespace_id": 1 "namespace_id": 1,
"note": null
} }
``` ```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment