Crusoe Ccr API

The Ccr API from Crusoe — 8 operation(s) for ccr.

GitHub OpenAPI

Operations 13

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /ccr/supported-locations List container registry locations · Lists the locations where container registry repositories can be hosted #
Ask an LLM
“Which locations can I host container registry repositories in?”
“What regions support CCR?”
Tell an agent
List the supported container registry locations.
Show me where I can host CCR repositories.
GET /ccr/supported-providers List upstream registry providers · Lists the upstream registry providers supported for pull-through-cache… #
Ask an LLM
“Which upstream registry providers can I pull images from?”
“What registry types does CCR support for pull-through caching?”
Tell an agent
List the upstream registry providers supported for pull-through caching.
Show which registry providers I can use as upstreams.
POST /ccr/tokens Create a limited-scope CCR token · Creates a limited-scope token for authenticating to the container registry and… #
Ask an LLM
“How do I get a short-lived token to authenticate to the container registry?”
“Can I set an expiry on a CCR token?”
Tell an agent
Create a CCR token with alias {alias}.
Create a CCR token that expires at {expires_at}.
GET /projects/{project_id}/ccr/repositories List container registry repositories in a project · Lists all container registry repositories in the project and returns their… #
Ask an LLM
“Which container registry repositories exist in my project?”
“Can I sort or page through CCR repositories?”
Tell an agent
List CCR repositories in project {project_id}.
List CCR repositories in project {project_id} sorted by {sort_by}.
POST /projects/{project_id}/ccr/repositories Create a container registry repository · Creates a container registry repository in the project and returns the created… #
Ask an LLM
“How do I create a container registry repository in a project?”
“Can I set a maximum size and upstream registry on a new CCR repository?”
Tell an agent
Create a CCR repository named {name} in project {project_id}.
Create a CCR repository in project {project_id} with upstream {upstream_registry}.
DELETE /projects/{project_id}/ccr/repositories/{repository_id} Delete a container registry repository · Deletes a container registry repository from the project #
Ask an LLM
“How do I delete a container registry repository?”
“Can I remove a CCR repository from my project?”
Tell an agent destructive · confirm first
Delete CCR repository {repository_id} from project {project_id}.
Remove container registry repository {repository_id} in project {project_id}.
GET /projects/{project_id}/ccr/repositories/{repository_id} Get a container registry repository · Returns details for a single container registry repository in the project #
Ask an LLM
“What are the details of one CCR repository?”
“Can I look up a container registry repository by ID?”
Tell an agent
Get CCR repository {repository_id} in project {project_id}.
Show details of container registry repository {repository_id} in project {project_id}.
PATCH /projects/{project_id}/ccr/repositories/{repository_id} Update upstream registry credentials · Updates the upstream registry credentials for a repository in the project #
Ask an LLM
“How do I rotate the upstream registry credentials for a CCR repository?”
“Can I change the username and password for an upstream registry?”
Tell an agent
Update the upstream registry credentials for CCR repository {repository_id} in project {project_id} to username {username} and password {password}.
Rotate the upstream registry password on CCR repository {repository_id} in project {project_id} to {password}.
DELETE /projects/{project_id}/ccr/repositories/{repository_id}/images Delete an image from a container registry repository · Deletes an image from a container registry repository in the project #
Ask an LLM
“How do I delete an image from a container registry repository?”
“Can I remove a single image from a CCR repository?”
Tell an agent destructive · confirm first
Delete image {image_id} from CCR repository {repository_id} in project {project_id}.
Remove image {image_id} from CCR repository {repository_id} in project {project_id}.
GET /projects/{project_id}/ccr/repositories/{repository_id}/images List images in a container registry repository · Lists all images in a container registry repository in the project and returns… #
Ask an LLM
“Which images are stored in my container registry repository?”
“Can I page through the images in a CCR repository?”
Tell an agent
List images in CCR repository {repository_id} of project {project_id}.
Show the images in CCR repository {repository_id} in project {project_id}.
DELETE /projects/{project_id}/ccr/repositories/{repository_id}/manifests Delete a manifest from an image in a CCR repository · Deletes a manifest from an image in a container registry repository in the… #
Ask an LLM
“How do I delete a manifest by tag from a CCR image?”
“Can I remove a manifest by digest instead of tag?”
Tell an agent destructive · confirm first
Delete manifest {tag} of image {image_id} in CCR repository {repository_id} of project {project_id}.
Remove manifest {digest} of image {image_id} in CCR repository {repository_id} in project {project_id}.
GET /projects/{project_id}/ccr/repositories/{repository_id}/manifests List manifests of an image in a CCR repository · Lists all manifests for an image in a container registry repository in the… #
Ask an LLM
“Which image manifests exist for a tag in my CCR repository?”
“Can I filter CCR image manifests by tag?”
Tell an agent
List manifests for image {image_id} in CCR repository {repository_id} of project {project_id}.
Show manifests of image {image_id} in CCR repository {repository_id} in project {project_id} whose tag contains {tag_contains}.
GET /projects/{project_id}/ccr/repositories/{repository_id}/usage Get usage of a container registry repository · Returns usage data for a single container registry repository in the project #
Ask an LLM
“How much storage is my container registry repository using?”
“What are the usage metrics for a CCR repository?”
Tell an agent
Get usage data for CCR repository {repository_id} in project {project_id}.
Show storage usage of CCR repository {repository_id} in project {project_id}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/crusoe:crusoe-ccr-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

crusoe-ccr-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: The API Gateway exposes all publicly available API endpoints for Crusoe Cloud products.
  title: Crusoe Cloud API Gateway Ccr API
  version: v1
servers:
- url: https://api.cloud.crusoe.ai/v1
tags:
- name: Ccr
paths:
  /ccr/supported-locations:
    get:
      operationId: listSupportedLocations
      responses:
        '200':
          $ref: '#/components/responses/ccrListSupportedLocationsResponse'
        '401':
          $ref: '#/components/responses/authError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Lists the locations where container registry repositories can be hosted
      tags:
      - Ccr
  /ccr/supported-providers:
    get:
      operationId: listSupportedProviders
      responses:
        '200':
          $ref: '#/components/responses/ccrListSupportedProvidersResponse'
        '401':
          $ref: '#/components/responses/authError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Lists the upstream registry providers supported for pull-through-cache…
      tags:
      - Ccr
  /ccr/tokens:
    post:
      operationId: createCcrToken
      responses:
        '200':
          $ref: '#/components/responses/ccrTokenResponse'
        '400':
          $ref: '#/components/responses/badReqError'
        '401':
          $ref: '#/components/responses/authError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Creates a limited-scope token for authenticating to the container registry and…
      tags:
      - Ccr
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CCRTokenRequest'
  /projects/{project_id}/ccr/repositories:
    get:
      operationId: listCcrRepositories
      parameters:
      - description: ID of the project that owns the repositories.
        in: path
        name: project_id
        required: true
        x-go-name: ProjectID
        schema:
          type: string
      - description: Page number of results to return.
        in: query
        name: page
        x-go-name: Page
        schema:
          type: integer
          format: int32
      - description: Number of results to return per page.
        in: query
        name: page_size
        x-go-name: PageSize
        schema:
          type: integer
          format: int32
      - description: Field to sort the results by.
        in: query
        name: sort_by
        x-go-name: SortBy
        schema:
          type: string
      - description: Order to sort the results in.
        in: query
        name: sort_order
        x-go-name: SortOrder
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/ccrListRepositoriesResponse'
        '400':
          $ref: '#/components/responses/badReqError'
        '401':
          $ref: '#/components/responses/authError'
        '403':
          $ref: '#/components/responses/permissionsError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Lists all container registry repositories in the project and returns their…
      tags:
      - Ccr
    post:
      operationId: createCcrRepository
      parameters:
      - description: ID of the project to create the repository in.
        in: path
        name: project_id
        required: true
        x-go-name: ProjectID
        schema:
          type: string
      responses:
        '201':
          $ref: '#/components/responses/ccrRepositoryResponse'
        '400':
          $ref: '#/components/responses/badReqError'
        '401':
          $ref: '#/components/responses/authError'
        '403':
          $ref: '#/components/responses/permissionsError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Creates a container registry repository in the project and returns the created…
      tags:
      - Ccr
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RepositoryRequest'
  /projects/{project_id}/ccr/repositories/{repository_id}:
    delete:
      operationId: deleteCcrRepository
      parameters:
      - description: ID of the project that owns the repository.
        in: path
        name: project_id
        required: true
        x-go-name: ProjectID
        schema:
          type: string
      - description: ID of the repository.
        in: path
        name: repository_id
        required: true
        x-go-name: RepositoryID
        schema:
          type: string
      - description: Location the repository is hosted in.
        in: query
        name: location
        x-go-name: Location
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/emptyResponse'
        '400':
          $ref: '#/components/responses/badReqError'
        '401':
          $ref: '#/components/responses/authError'
        '403':
          $ref: '#/components/responses/permissionsError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Deletes a container registry repository from the project
      tags:
      - Ccr
    get:
      operationId: getCcrRepository
      parameters:
      - description: ID of the project that owns the repository.
        in: path
        name: project_id
        required: true
        x-go-name: ProjectID
        schema:
          type: string
      - description: ID of the repository.
        in: path
        name: repository_id
        required: true
        x-go-name: RepositoryID
        schema:
          type: string
      - description: Location the repository is hosted in.
        in: query
        name: location
        x-go-name: Location
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/ccrRepositoryResponse'
        '400':
          $ref: '#/components/responses/badReqError'
        '401':
          $ref: '#/components/responses/authError'
        '403':
          $ref: '#/components/responses/permissionsError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Returns details for a single container registry repository in the project
      tags:
      - Ccr
    patch:
      description: 'Updates the username and password credentials for the upstream registry

        of a pull-through-cache repository.'
      operationId: updateCcrRepositoryCredentials
      parameters:
      - description: ID of the project that owns the repository.
        in: path
        name: project_id
        required: true
        x-go-name: ProjectID
        schema:
          type: string
      - description: ID of the repository.
        in: path
        name: repository_id
        required: true
        x-go-name: RepositoryID
        schema:
          type: string
      responses:
        '204':
          $ref: '#/components/responses/emptyResponse'
        '400':
          $ref: '#/components/responses/badReqError'
        '401':
          $ref: '#/components/responses/authError'
        '403':
          $ref: '#/components/responses/permissionsError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Updates the upstream registry credentials for a repository in the project
      tags:
      - Ccr
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpstreamRegistryCredentials'
  /projects/{project_id}/ccr/repositories/{repository_id}/images:
    delete:
      operationId: deleteCcrImage
      parameters:
      - description: ID of the project that owns the repository.
        in: path
        name: project_id
        required: true
        x-go-name: ProjectID
        schema:
          type: string
      - description: ID of the repository that contains the image.
        in: path
        name: repository_id
        required: true
        x-go-name: RepositoryID
        schema:
          type: string
      - description: ID of the image to delete.
        in: query
        name: image_id
        required: true
        x-go-name: ImageID
        schema:
          type: string
      - description: Location the repository is hosted in.
        in: query
        name: location
        x-go-name: Location
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/emptyResponse'
        '400':
          $ref: '#/components/responses/badReqError'
        '401':
          $ref: '#/components/responses/authError'
        '403':
          $ref: '#/components/responses/permissionsError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Deletes an image from a container registry repository in the project
      tags:
      - Ccr
    get:
      operationId: listCcrImages
      parameters:
      - description: ID of the project that owns the repository.
        in: path
        name: project_id
        required: true
        x-go-name: ProjectID
        schema:
          type: string
      - description: ID of the repository that contains the images.
        in: path
        name: repository_id
        required: true
        x-go-name: RepositoryID
        schema:
          type: string
      - description: Location the repository is hosted in.
        in: query
        name: location
        x-go-name: Location
        schema:
          type: string
      - description: Page number of results to return.
        in: query
        name: page
        x-go-name: Page
        schema:
          type: integer
          format: int32
      - description: Number of results to return per page.
        in: query
        name: page_size
        x-go-name: PageSize
        schema:
          type: integer
          format: int32
      - description: Field to sort the results by.
        in: query
        name: sort_by
        x-go-name: SortBy
        schema:
          type: string
      - description: Order to sort the results in.
        in: query
        name: sort_order
        x-go-name: SortOrder
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/ccrListImagesResponse'
        '400':
          $ref: '#/components/responses/badReqError'
        '401':
          $ref: '#/components/responses/authError'
        '403':
          $ref: '#/components/responses/permissionsError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Lists all images in a container registry repository in the project and returns…
      tags:
      - Ccr
  /projects/{project_id}/ccr/repositories/{repository_id}/manifests:
    delete:
      operationId: deleteCcrManifest
      parameters:
      - description: ID of the project that owns the repository.
        in: path
        name: project_id
        required: true
        x-go-name: ProjectID
        schema:
          type: string
      - description: ID of the repository that contains the image.
        in: path
        name: repository_id
        required: true
        x-go-name: RepositoryID
        schema:
          type: string
      - description: ID of the image that contains the manifest.
        in: query
        name: image_id
        required: true
        x-go-name: ImageID
        schema:
          type: string
      - description: Tag that points to the manifest to delete. Either tag or digest must be provided, but not both.
        in: query
        name: tag
        x-go-name: Tag
        schema:
          type: string
      - description: Digest of the manifest to delete. Either tag or digest must be provided, but not both.
        in: query
        name: digest
        x-go-name: Digest
        schema:
          type: string
      - description: Location the repository is hosted in.
        in: query
        name: location
        x-go-name: Location
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/emptyResponse'
        '400':
          $ref: '#/components/responses/badReqError'
        '401':
          $ref: '#/components/responses/authError'
        '403':
          $ref: '#/components/responses/permissionsError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Deletes a manifest from an image in a container registry repository in the…
      tags:
      - Ccr
    get:
      operationId: listCcrManifests
      parameters:
      - description: ID of the project that owns the repository.
        in: path
        name: project_id
        required: true
        x-go-name: ProjectID
        schema:
          type: string
      - description: ID of the repository that contains the image.
        in: path
        name: repository_id
        required: true
        x-go-name: RepositoryID
        schema:
          type: string
      - description: ID of the image whose manifests are listed.
        in: query
        name: image_id
        required: true
        x-go-name: ImageID
        schema:
          type: string
      - description: Filters results to manifests with a tag that contains this substring.
        in: query
        name: tag_contains
        x-go-name: TagContains
        schema:
          type: string
      - description: Location the repository is hosted in.
        in: query
        name: location
        x-go-name: Location
        schema:
          type: string
      - description: Page number of results to return.
        in: query
        name: page
        x-go-name: Page
        schema:
          type: integer
          format: int32
      - description: Number of results to return per page.
        in: query
        name: page_size
        x-go-name: PageSize
        schema:
          type: integer
          format: int32
      - description: Field to sort the results by.
        in: query
        name: sort_by
        x-go-name: SortBy
        schema:
          type: string
      - description: Order to sort the results in.
        in: query
        name: sort_order
        x-go-name: SortOrder
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/ccrListManifestsResponse'
        '400':
          $ref: '#/components/responses/badReqError'
        '401':
          $ref: '#/components/responses/authError'
        '403':
          $ref: '#/components/responses/permissionsError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Lists all manifests for an image in a container registry repository in the…
      tags:
      - Ccr
  /projects/{project_id}/ccr/repositories/{repository_id}/usage:
    get:
      operationId: getCcrRepositoryUsage
      parameters:
      - description: ID of the project that owns the repository.
        in: path
        name: project_id
        required: true
        x-go-name: ProjectID
        schema:
          type: string
      - description: ID of the repository.
        in: path
        name: repository_id
        required: true
        x-go-name: RepositoryID
        schema:
          type: string
      - description: Location the repository is hosted in.
        in: query
        name: location
        x-go-name: Location
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/ccrRepositoryQuotaResponse'
        '400':
          $ref: '#/components/responses/badReqError'
        '401':
          $ref: '#/components/responses/authError'
        '403':
          $ref: '#/components/responses/permissionsError'
        '500':
          $ref: '#/components/responses/serverError'
      summary: Returns usage data for a single container registry repository in the project
      tags:
      - Ccr
components:
  schemas:
    UpstreamRegistryCredentials:
      properties:
        password:
          description: Password used to authenticate to the upstream registry.
          type: string
          x-go-name: Password
        username:
          description: Username used to authenticate to the upstream registry.
          example: my-registry-user
          type: string
          x-go-name: Username
      type: object
      x-go-package: gitlab.com/crusoeenergy/island/rest-gateway/internal/models
    ListSupportedLocationsResponse:
      properties:
        items:
          description: List of locations where the container registry is available.
          example:
          - us-east1
          - us-northcentral1
          items:
            type: string
          type: array
          x-go-name: Items
      type: object
      x-go-package: gitlab.com/crusoeenergy/island/rest-gateway/internal/models
    ListRepositoriesResponse:
      properties:
        items:
          description: List of repositories.
          items:
            $ref: '#/components/schemas/Repository'
          type: array
          x-go-name: Items
      type: object
      x-go-package: gitlab.com/crusoeenergy/island/rest-gateway/internal/models
    Repository:
      properties:
        created_at:
          description: Creation timestamp of the repository, in RFC3339 format.
          example: '2021-12-03T19:58:34Z'
          format: date-time
          type: string
          x-go-name: CreatedAt
        id:
          description: ID of the repository.
          example: ca39e669-47ee-456b-968d-303234fbf99f
          type: string
          x-go-name: ID
        location:
          description: Location the repository is hosted in.
          example: us-east1
          type: string
          x-go-name: Location
        max_size_bytes:
          description: Maximum total size of the repository, in bytes.
          example: '10737418240'
          type: string
          x-go-name: MaxSizeBytes
        mode:
          description: Mode of the repository, which determines how images are stored and served.
          type: string
          x-go-name: Mode
        name:
          description: Name of the repository.
          example: my-repository
          type: string
          x-go-name: Name
        state:
          description: State of the repository.
          type: string
          x-go-name: State
        upstream_registry:
          $ref: '#/components/schemas/UpstreamRegistry'
        url:
          description: URL at which the repository can be accessed.
          type: string
          x-go-name: URL
      type: object
      x-go-package: gitlab.com/crusoeenergy/island/rest-gateway/internal/models
    RepositoryQuota:
      properties:
        last_requested_timestamp_utc:
          description: Timestamp at which the usage data was last computed, in RFC3339 format.
          example: '2021-12-03T19:58:34Z'
          type: string
          x-go-name: LastRequestedTimestampUTC
        max_size_bytes:
          description: Maximum total size allowed for the repository, in bytes.
          example: '10737418240'
          type: string
          x-go-name: MaxSizeBytes
        used_size_bytes:
          description: Total size currently used by the repository, in bytes.
          example: '5368709120'
          type: string
          x-go-name: UsedSizeBytes
      type: object
      x-go-package: gitlab.com/crusoeenergy/island/rest-gateway/internal/models
    ListSupportedProvidersResponse:
      properties:
        items:
          description: List of supported upstream registry providers.
          items:
            type: string
          type: array
          x-go-name: Items
      type: object
      x-go-package: gitlab.com/crusoeenergy/island/rest-gateway/internal/models
    CcrImage:
      properties:
        manifest_count:
          description: Number of manifests in the image.
          example: 3
          format: int64
          type: integer
          x-go-name: ManifestCount
        name:
          description: Name of the image.
          example: my-image
          type: string
          x-go-name: Name
        pull_count:
          description: Number of times the image has been pulled.
          example: 100
          format: int64
          type: integer
          x-go-name: PullCount
        updated_at:
          description: Last update timestamp of the image, in RFC3339 format.
          example: '2021-12-03T19:58:34Z'
          format: date-time
          type: string
          x-go-name: LastUpdatedTimestampUTC
        url:
          description: URL at which the image can be accessed.
          type: string
          x-go-name: URL
      type: object
      x-go-package: gitlab.com/crusoeenergy/island/rest-gateway/internal/models
    CCRTokenRequest:
      properties:
        alias:
          description: Alias for the new token, used to identify it.
          example: my-token
          type: string
          x-go-name: Alias
        expires_at:
          description: Expiration timestamp of the token, in RFC3339 format.
          example: '2026-12-03T19:58:34Z'
          type: string
          x-go-name: ExpiresAt
      type: object
      x-go-package: gitlab.com/crusoeenergy/island/rest-gateway/internal/models
    ListManifestsResponse:
      properties:
        items:
          description: List of manifests.
          items:
            $ref: '#/components/schemas/Manifest'
          type: array
          x-go-name: Items
      type: object
      x-go-package: gitlab.com/crusoeenergy/island/rest-gateway/internal/models
    ListCcrImagesResponse:
      properties:
        items:
          description: List of images.
          items:
            $ref: '#/components/schemas/CcrImage'
          type: array
          x-go-name: Items
      type: object
      x-go-package: gitlab.com/crusoeenergy/island/rest-gateway/internal/models
    Manifest:
      properties:
        digest:
          description: Content-addressable digest that uniquely identifies the manifest.
          example: sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a
          type: string
          x-go-name: Digest
        pulled_at:
          description: Last pull timestamp of the manifest, in RFC3339 format.
          example: '2021-12-03T19:58:34Z'
          format: date-time
          type: string
          x-go-name: PullTimestampUTC
        pushed_at:
          description: Push timestamp of the manifest, in RFC3339 format.
          example: '2021-12-03T19:58:34Z'
          format: date-time
          type: string
          x-go-name: PushTimestampUTC
        size_bytes:
          description: Total size of the manifest, in bytes.
          example: '10485760'
          type: string
          x-go-name: SizeBytes
        tags:
          description: Tags that point to the manifest.
          example:
          - latest
          - v1.0
          items:
            type: string
          type: array
          x-go-name: Tags
      type: object
      x-go-package: gitlab.com/crusoeenergy/island/rest-gateway/internal/models
    UpstreamRegistry:
      properties:
        provider:
          description: Provider of the upstream registry.
          type: string
          x-go-name: Provider
        upstream_registry_credentials:
          $ref: '#/components/schemas/UpstreamRegistryCredentials'
        url:
          description: Base URL of the upstream registry that the repository caches images from.
          example: https://registry-1.docker.io
          type: string
          x-go-name: URL
      type: object
      x-go-package: gitlab.com/crusoeenergy/island/rest-gateway/internal/models
    CCRTokenResponse:
      properties:
        token:
          description: Token used to authenticate to the container registry.
          type: string
          x-go-name: Token
      type: object
      x-go-package: gitlab.com/crusoeenergy/island/rest-gateway/internal/models
    RepositoryRequest:
      properties:
        location:
          description: Location to create the repository in.
          example: us-east1
          type: string
          x-go-name: Location
        max_size_bytes:
          description: Maximum total size for the new repository, in bytes.
          example: '10737418240'
          type: string
          x-go-name: MaxSizeBytes
        mode:
          description: Mode for the new repository, which determines how images are stored and served.
          type: string
          x-go-name: Mode
        name:
          description: Name for the new repository.
          example: my-repository
          type: string
          x-go-name: Name
        upstream_registry:
          $ref: '#/components/schemas/UpstreamRegistry'
      type: object
      x-go-package: gitlab.com/crusoeenergy/island/rest-gateway/internal/models
  responses:
    ccrListRepositoriesResponse:
      description: ''
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ListRepositoriesResponse'
    permissionsError:
      description: Error Permissions
      content:
        application/json:
          schema:
            properties:
              code:
                example: '403'
                type: string
                x-go-name: Code
              message:
                example: unauthorized
                type: string
                x-go-name: Message
            required:
            - code
            - message
            type: object
    ccrListManifestsResponse:
      description: ''
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ListManifestsResponse'
    badReqError:
      description: Error Bad Request
      content:
        application/json:
          schema:
            properties:
              code:
                example: '400'
                type: string
                x-go-name: Code
              message:
                example: bad_request
                type: string
                x-go-name: Message
            required:
            - code
            - message
            type: object
    ccrTokenResponse:
      description: ''
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/CCRTokenResponse'
    ccrRepositoryResponse:
      description: ''
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Repository'
    emptyResponse:
      description: Empty Response
    ccrListSupportedProvidersResponse:
      description: ''
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ListSupportedProvidersResponse'
    ccrListImagesResponse:
      description: ''
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ListCcrImagesResponse'
    ccrRepositoryQuotaResponse:
      description: ''
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/RepositoryQuota'
    ccrListSupportedLocationsResponse:
      description: ''
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ListSupportedLocationsResponse'
    authError:
      description: Error Authentication Failed
      content:
        application/json:
          schema:
            properties:
              code:
                example: '401'
                type: string
                x-go-name: Code
              message:
                example: bad_credential
                type: string
                x-go-name: Message
            required:
            - code
            - message
            type: object
    serverError:
      description: Error Internal Server
      content:
        application/json:
          schema:
            properties:
              code:
                example: '500'
                type: string
                x-go-name: Code
              message:
                example: internal_error
                type: string
                x-go-name: Message
            required:
            - code
            - message
            type: object
x-tagGroups:
- name: Compute
  tags:
  - VMs
  - VM Operations
  - Images
  - Instance Templates
- name: Organizations
  tags:
  - Projects
  - Billing
  - Entities
  - Prospects
  - Usage
  - Quotas
  - Audit Logs
  - SCIM
- name: Users
  tags:
  - Identities
  - SSH Keys
  - Tokens
- name: Storage
  tags:
  - Disks
  - Disk Operations
  - Snapshots
  - Snapshot Operations
  - S3Buckets
  - S3Users
- name: Networking
  tags:
  - VPC Firewall Rules
  - VPC Firewall Rule Operations
  - VPC Networks
  - VPC Subnets
  - IB Partitions
  - Load Balancers
  - NVLink Domains
- name: Orchestration
  tags:
  - Kubernetes Clusters
  - Kubernetes Cluster Operations
  - Kubernetes Node Pools
  - Kubernetes Node Pool Operations
  - Kubernetes Versions
  - AutoClusters
  - AutoCluster Operations
- name: Locations
  tags:
  - Locations
- name: Capacities
  tags:
  - Capacities
- name: Container Registry
  tags:
  - Container Registry
- name: Foundry
  tags:
  - Foundry
x-provenance:
  method: harvested
  publisher: Crusoe
  source: https://docs.crusoecloud.com/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)