REST API
Generate a new API Token
In order to start using API you will need to generate API Token. In order to do that:

- Click
API Tokensin user's menu - Click
Generate a new API Token - Enter token name and click
Generate - You will be redirected back to the list. Now you can copy your newly generated token and start using API.
Authorization
In order to authorize the api you should use the X-API-TOKEN header with generated token.
Example request:
curl --location --request POST 'https://app.repman.io/api/organization/my-organization/package' \--header 'Content-Type: application/json' \--header 'X-API-TOKEN: d45d1eb9e4e9ab13fd8668557711bc81786a3ea60f5bb209581acf14ec036743' \--data-raw '{"repository": "my/repository","type": "gitlab","keepLastReleases": 0}'