Templates

Diff two versions of a template (path, change, before, after)

from is a version number of this template or base (the to version’s build base, which may be a platform version). Keyset-paginated by path; path_prefix narrows it (string prefix), change filters one kind. The first page (no cursor) carries summary. 409 file_list_unavailable / file_list_indexing when either version has no loaded file list.

get/v1/organizations/{organization_id}/templates/{slug}/diff

Request

  • Base URL: https://api.shardflux.dev
  • URL: https://api.shardflux.dev/v1/organizations/{organization_id}/templates/{slug}/diff
  • Auth: HTTP bearer

Path parameters

organization_idstring uuid required

UUIDv7, lowercase canonical form.

slugstring required

Query parameters

fromstring required

A version number, or base.

tointeger required
path_prefixstring
change'added' | 'removed' | 'changed' | 'type_changed' | 'metadata'
limitinteger
cursorstring
owner'platform' | 'organization'

Pick the platform template even when an organization template shadows its slug.

Response

Default Response

next_cursorstring nullable required

Changes

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