resource

get git repository latest commit hash

get/w/{workspace}/resources/git_commit_hash/{path}

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/w/{workspace}/resources/git_commit_hash/{path}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie token

Path parameters

workspacestring required
pathstring required

Query parameters

git_ssh_identitystring

Response

git commit hash

commit_hashstring required

Latest commit hash from git ls-remote

Changes

No recorded changes to this operation across all 293 revisions of this API.