ListAssetsResp

  • data
    Type: array object[] · AssetListItem[]
    required

    Summary of an asset as returned in list responses. Carries identity, audit metadata, and the asset's type (PDF, HTML, image, CSS). The asset's content — inline text for HTML/CSS, or a fileId pointing at uploaded binary for PDF/image — is not included; fetch the full asset by key to access it.

    • contentHash
      Type: string
      required

      Stable hash of the resource's content. Recomputed on every write (Create, Update, Publish), so it's available for both drafts and published versions. Useful for change detection — compare hashes across two snapshots (e.g. "did the draft actually change?" or "is the draft different from the latest published version?").

    • createdAt
      Type: stringFormat: date-time
      required

      When this version was created.

    • createdBy
      Type: object
      required

      Actor who created this version.

    • metadata
      Type: object
      required

      The resource's identity and human-facing labels. Shared shape across all five resource kinds (blueprints, templates, schemas, assets, functions). The pair (key, version) is the canonical handle for any resource within a namespace.

    • spec
      Type: object
      required
    • updatedAt
      Type: stringFormat: date-time
      required

      When this version was last modified (drafts only — published versions are immutable).

    • publishedAt
      Type: stringFormat: date-time

      When this version was published. Absent on drafts.

    • publishedBy
      Type: object

      Actor who published this version. Absent on drafts.

  • pagination
    Type: object
    required

    Pagination metadata for list responses

    • limit
      Type: integer
      required

      Maximum number of records per page

    • offset
      Type: integer
      required

      Starting position in the result set

    • total
      Type: integer
      required

      Total number of records available