Workspace Context

View the full schema here.

When interacting with Ardoq, you will often find yourself working within the the context of a particular workspace (or set of workspaces). The required contextual information can include the following:

  • The types that a component or reference may have.
  • The structure (hierarchy) that these types impose.
  • The custom fields that a component/reference may have.
  • The list of tags that can be used in the workspace.

This contextual information (or just context) can be thought of as including the core information about the workspace's metamodel. The response is intended to be both human and machine readable.

curl "https://app.ardoq.com/api/v2/workspaces/c253c98231776d0c8a54879e/context"
resp = ardoq_request("/api/v2/workspaces/c253c98231776d0c8a54879e/context")
print(resp)
(async () => {
    const resp = await ardoq_request("/api/v2/workspaces/c253c98231776d0c8a54879e/context")
    console.log(resp)
})()