Link code repository to container

Link code repository to container

post/containers/linkCodeRepo

Request

  • Base URL
    https://app.aikido.dev/api/public/v1
  • URL
    https://app.aikido.dev/api/public/v1/containers/linkCodeRepo
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://app.aikido.io/api/oauth/token scopes: containers:write

Request body

container_repo_idinteger required

The ID of the container repo

code_repo_idinteger required

The ID of the code repository

Example request

{
  "container_repo_id": 1,
  "code_repo_id": 4
}

Response

The code repository has been linked to the container.

successinteger

The integer 1 indicating success

Example response

{
  "success": 1
}

Changes

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