Source code
Diff one source file
Returns a bounded unified diff for one file name between two version refs, defaulting from published to head.
get/websiteSourceCode/files/diff
Request
- Base URL: https://api.cactal.ai/v1
- URL: https://api.cactal.ai/v1/websiteSourceCode/files/diff
- 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.
namestring required
File name to compare.
Response
The selected file comparison and unified diff.
Changes
No recorded changes to this operation across all 1 revision of this API.