workspace
store the caller's own token for the remote deploy target
Changed onThe token is checked against the target's whoami before it is stored. target names the target the token was obtained for, and the request is refused if the workspace now points elsewhere, so a token is never sent to an instance it was not meant for.
post/w/{workspace}/remote_deploy/connect
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/w/{workspace}/remote_deploy/connect
- Auth: one of:
- HTTP bearer
- API key in cookie token
Path parameters
workspacestring required
Request body
Response
the stored connection
Changes
- info
endpoint added
- info