This is an old revision of the document!


Using Gitlab API

With the given gitlab api many things are possible, for example the exploration of projects and groups as well as triggering pipelines.
To have project access with api a Token is necessary. To create a Token, go to project (or group) “Settings” → “Access Tokens”. For full access select “api”.
Tokens have an expiration date, but with leaving it blank, no expiration date is set.
Tokens can not be seen after creation so save it locally!

Exploring groups via API

For a better overview and prettier output Postman is used.

Trigger a pipeline via API

First go to project settings → “CI/CD” → “Pipeline triggers” After enabling pipeline triggers for a project the given token is used to