Load a single icon by id
read:cmdb-icon:jira
string
RequiredAn icon
A visual representation of something, usually associated as the icon of an object type
1
2
3
4
curl --request GET \
--url 'https://api.atlassian.com/jsm/assets/workspace/{workspaceId}/v1/icon/{id}' \
--header 'Authorization: Bearer <access_token>' \
--header 'Accept: application/json'
1
2
3
4
5
6
{
"id": "68",
"name": "Mac OS",
"url16": "https://api.atlassian.com/jsm/assets/workspace/g2778e1d-939d-581d-c8e2-9d5g59de456b/v1/icon/68/icon.png?size=16",
"url48": "https://api.atlassian.com/jsm/assets/workspace/g2778e1d-939d-581d-c8e2-9d5g59de456b/v1/icon/68/icon.png?size=48"
}
Return all global icons i.e. icons not associated with a particular object schema
read:cmdb-icon:jira
This request has no parameters.
All existing global icons
array<Icon>
1
2
3
4
curl --request GET \
--url 'https://api.atlassian.com/jsm/assets/workspace/{workspaceId}/v1/icon/global' \
--header 'Authorization: Bearer <access_token>' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"Icons": [
{
"id": "68",
"name": "Mac OS",
"url16": "https://api.atlassian.com/jsm/assets/workspace/g2778e1d-939d-581d-c8e2-9d5g59de456b/v1/icon/68/icon.png?size=16",
"url48": "https://api.atlassian.com/jsm/assets/workspace/g2778e1d-939d-581d-c8e2-9d5g59de456b/v1/icon/68/icon.png?size=48"
},
{
"id": "69",
"name": "Marker",
"url16": "https://api.atlassian.com/jsm/assets/workspace/g2778e1d-939d-581d-c8e2-9d5g59de456b/v1/icon/69/icon.png?size=16",
"url48": "https://api.atlassian.com/jsm/assets/workspace/g2778e1d-939d-581d-c8e2-9d5g59de456b/v1/icon/69/icon.png?size=48"
},
{
"id": "70",
"name": "Master",
"url16": "https://api.atlassian.com/jsm/assets/workspace/g2778e1d-939d-581d-c8e2-9d5g59de456b/v1/icon/70/icon.png?size=16",
"url48": "https://api.atlassian.com/jsm/assets/workspace/g2778e1d-939d-581d-c8e2-9d5g59de456b/v1/icon/70/icon.png?size=48"
},
{
"id": "71",
"name": "Memory Slot",
"url16": "https://api.atlassian.com/jsm/assets/workspace/g2778e1d-939d-581d-c8e2-9d5g59de456b/v1/icon/71/icon.png?size=16",
"url48": "https://api.atlassian.com/jsm/assets/workspace/g2778e1d-939d-581d-c8e2-9d5g59de456b/v1/icon/71/icon.png?size=48"
},
{
"id": "72",
"name": "Mic",
"url16": "https://api.atlassian.com/jsm/assets/workspace/g2778e1d-939d-581d-c8e2-9d5g59de456b/v1/icon/72/icon.png?size=16",
"url48": "https://api.atlassian.com/jsm/assets/workspace/f1668d0c-828c-470c-b7d1-8c4f48cd345a/v1/icon/72/icon.png?size=48"
}
],
"No icons found": []
}
Rate this page: