(cloudId: string, workspaceId: string)
| 97 | * @returns The base URL for the Assets API (v1) |
| 98 | */ |
| 99 | export function getAssetsApiBaseUrl(cloudId: string, workspaceId: string): string { |
| 100 | return `https://api.atlassian.com/ex/jira/${cloudId}/jsm/assets/workspace/${workspaceId}/v1` |
| 101 | } |
| 102 | |
| 103 | /** |
| 104 | * Resolve the Assets `workspaceId` for a Jira site. |