cURL
curl --request GET \ --url https://api.example.com/api/git/changes/{path} \ --header 'X-Session-API-Key: <api-key>'
[ { "status": "MOVED", "path": "<string>" } ]
Get git changes using path parameter (legacy, for backwards compatibility).
Deprecated since v1.15.0 and scheduled for removal in v1.20.0.
Prefer /git/changes?path=... to avoid path-encoding issues and align with other Git endpoints.
/git/changes?path=...
Successful Response
MOVED
ADDED
DELETED
UPDATED
Was this page helpful?