workspace

get the git credential for a git-sync job (GitHub App token, or the credential stored for the repository)

post/w/{workspace}/github_app/token

Request

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

Path parameters

workspacestring required

Request body

job_tokenstring required

Response

git credential

tokenstring required

Changes

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