Reference
Diff branches
What changed from the branch from to this one, in path order.
GET
bearerheader
AuthorizationBearer <token>namespace*stringA namespace of your organization, such as prod/app, or <org>:<namespace> for a public namespace of another one. Encode / as %2F.
branch*stringA branch, such as main or agents/fix-1. Encode / as %2F.
from*stringMatch
^[A-Za-z0-9_-][A-Za-z0-9._-]*(\/[A-Za-z0-9_-][A-Za-z0-9._-]*)*$Length
length <= 200against?stringhead compares with from as it is now. base compares with the newest commit both branches share, so only what this branch changed shows, as in git diff from...branch.
Default
"head"Value in
"head""base"limit?|The most changes to return, at most 1000. 1000 by default.
after?stringThe next page: the path of the last one of the page before.
Length
length <= 4096The changes.
application/json- response
[index: integer]?curl -X GET 'https://example.com/v1/namespaces/string/branches/string/diff?from=string'Example Response
[ { "kind": "added", "path": "string" }]