Source code

List changed source files

Lists added, removed, and modified file identities between two version refs, defaulting from published to head. Results use cursor pagination; pin continuation requests to the resolved version numbers.

get/websiteSourceCode/changes

Request

  • Base URL: https://api.cactal.ai/v1
  • URL: https://api.cactal.ai/v1/websiteSourceCode/changes
  • Auth: HTTP bearer

Query parameters

websiteIdstring required
fromstring

Base side of the diff: a version number, head, or published. Defaults to published.

tostring

Target side of the diff: a version number, head, or published. Defaults to head.

cursorstring

Opaque cursor from the previous page. Continue with the returned resolved versions to keep the comparison pinned.

limitinteger

Maximum candidate files to compare. Defaults to 20 and cannot exceed 20.

Response

A page of changed file identities.

nextCursorstring nullable required

Opaque cursor for the next page. Pass it as the cursor parameter on the next request. null when this is the last page.

websiteIdstring required

Id of the website.

fromVersioninteger required

Resolved base version. Pass it as from when continuing.

toVersioninteger required

Resolved target version. Pass it as to when continuing.

Changes

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