Clone container

Clone container with a specific tag filter

post/containers/clone

Request

  • Base URL
    https://app.aikido.dev/api/public/v1
  • URL
    https://app.aikido.dev/api/public/v1/containers/clone
  • 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

tag_filterinteger required

The tag filter you want to apply to the container. You can use wildcards with the asterisk char (*). Use 'semver-production' for filtering on semver compliant tags. To reset the tag filter, you can pass 'null'.

Example request

{
  "container_repo_id": 1,
  "tag_filter": "semver-production"
}

Response

The the container has been cloned.

container_repo_idinteger

The id 1 of the newly cloned container

Changes

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