hubPublish
get the hub project linked to a workspace folder
Requires the caller to be a workspace admin. Forwards the request to the configured Hub scoped to the {workspace}:{folder} source and returns the Hub's status code and raw response body.
get/w/{workspace}/hub/project
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/w/{workspace}/hub/project
- Auth: one of:
- HTTP bearer
- API key in cookie token
Path parameters
workspacestring required
Query parameters
folderstring required
workspace folder scoping the Hub publication: a workspace can publish one Hub project per folder and the Hub-side source key is {workspace}:{folder}
Response
raw Hub response body (status code is passed through from the Hub)