Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (20 sloc) 0.916 kb

Gitlab API

All API requests require authentication. You need to pass private_token parameter to authenticate.

To get or reset your token visit your profile.

If no or invalid private_token provided error message will be returned with status code 401:

  "message": "401 Unauthorized"

API requests should be prefixed with api and the API version. API version is equal to Gitlab major version number and defined in lib/api.rb.

Example of valid API request:


The API uses JSON to serialize data. You don't need to specify .json at the end of API URL.


Jump to Line
Something went wrong with that request. Please try again.