Organization Main Calls

Create a git token

Create a new git token to be used as a git provider by a service

post/organization/{organizationId}/gitToken

Request

Path parameters

organizationIdstring uuid required

Organization ID

Request body

namestring required
descriptionstring
type'BITBUCKET' | 'GITHUB' | 'GITLAB' required
tokenstring required

The token from your git provider side

workspacestring

Mandatory only for BITBUCKET git provider, to allow us to fetch repositories at creation/edition of a service

git_api_urlstring uri

custom git api url for the given git provider/type. I.e: Self-hosted version of Gitlab

Response

Git token created

idstring uuid required
created_atstring date-time required
updated_atstring date-time
namestring required
descriptionstring
type'BITBUCKET' | 'GITHUB' | 'GITLAB' required
expired_atstring date
workspacestring

Mandatory only for BITBUCKET git provider

associated_services_countnumber required

The number of services using this git token

git_api_urlstring uri required

Changes

No recorded changes to this operation across all 1 revision of this API.