resource

create resource

post/w/{workspace}/resources/create

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/create
  • Auth: one of:
    • HTTP bearer
    • API key in cookie token

Path parameters

workspacestring required

Query parameters

update_if_existsboolean

update the resource if it already exists (default false)

Request body

pathstring required

The path to the resource

valueunknown required
descriptionstring

The description of the resource

resource_typestring required

The resource_type associated with the resource

labelsstring[]
ws_specificboolean

Response

resource created

Changes

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