Skip to content
Navigation

List a template’s source files

Lists the files in this template's bundle, in manifest order — the editor's file pane.

Download one with GET /v1/compose/configs/{id}/files/{fileId}/content.

Note: A file removed from your template library is dropped from this list instead of failing it, so a template with a stale entry stays repairable.

Learn more: Compose

GET
https://api.cloudraker.com/v1/compose/configs/{idOrSlug}/files
Try it
Path parameters
Live API request

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • idOrSlug
    string
    required
    minLength: 1

Returns

200

The bundle files.

JSON
  • object
    string
    required
  • data
    array of
    object
    required
    • object
      string
      required
    • id
      string
      required
    • name
      string
      required
    • mimeType
      string
      required
    • size
      number | null
      required
    • uploadUrl
      optional
      string
    • uploadExpiresAt
      optional
      string

400

Not a compose template (capability_mismatch).

404

Unknown template.

429

Rate limited. The /v1 API allows at least 67 requests per minute per organization (about 1,000 requests per 15 minutes) — a guaranteed floor, enforced per edge location, so a geographically spread caller may get more. Wait for the Retry-After interval and retry — the error is retryable.
JSON
  • code
    rate_limited
    required
  • message
    string
    required
  • retryable
    true
    required
  • requestId
    string
    required
  • docUrl
    optional
    string

Type to search…

↑↓ navigate↵ selectEsc close