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/templates/{slug}/diff
Request
- Base URL: https://api.shardflux.dev
- URL: https://api.shardflux.dev/v1/templates/{slug}/diff
- Auth: HTTP bearer
Path parameters
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
Changes
No recorded changes to this operation across all 1 revision of this API.