Skip to content

Type Alias: AssetsClientConfig ​

ts
type AssetsClientConfig = Omit<ClientConfig, "host"> & object;

Defined in: src/assets/createAssetsClient.ts:105

Type Declaration ​

host? ​

ts
optional host?: string;

The Atlassian gateway, which is where Assets answers rather than on the site's own host.

Defaults to https://api.atlassian.com. Under OAuth 2.0 it is left unset and the client derives https://api.atlassian.com/ex/jira/{cloudId} itself, as it does for every other surface.

workspaceId ​

ts
workspaceId: string;

The Assets workspace this client talks to.

A site has one, and serviceDesk.assets.getAssetsWorkspaces() is what returns it.