{
"opencollection": "1.0.0",
"info": {
"name": "Atlassian Admin Account Avatars API",
"version": "1.0.0"
},
"request": {
"auth": {
"type": "bearer",
"token": "{{bearerToken}}"
}
},
"items": [
{
"info": {
"name": "Avatars",
"type": "folder"
},
"items": [
{
"info": {
"name": "Atlassian Get System Avatars By Type",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/rest/api/3/avatar/:type/system",
"params": [
{
"name": "type",
"value": "",
"type": "path",
"description": "The avatar type."
}
]
},
"docs": "Returns a list of system avatar details by owner type, where the owner types are issue type, project, or user.
This operation can be accessed anonymously.
**[Permissions](#permissions) required:** None."
},
{
"info": {
"name": "Atlassian Get Avatars",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/rest/api/3/universal_avatar/type/:type/owner/:entityId",
"params": [
{
"name": "type",
"value": "",
"type": "path",
"description": "The avatar type."
},
{
"name": "entityId",
"value": "",
"type": "path",
"description": "The ID of the item the avatar is associated with."
}
]
},
"docs": "Returns the system and custom avatars for a project or issue type.
This operation can be accessed anonymously.
**[Permissions](#permissions) required:**
* for custom project avatars, *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project the avatar belongs to.
* for custom issue type avatars, *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for at least one project the issue type is used in.
Specify the avatar's local file location in the body of the request. Also, include the following headers:
* `X-Atlassian-Token: no-check` To prevent XSRF protection blocking the request, for more information see [Special Headers](#special-request-headers).
* `Content-Type: image/image type` Valid image types are JPEG, GIF, or PNG.
For example:
`curl --request POST `
`--user email@example.com: `
`--h"
},
{
"info": {
"name": "Atlassian Delete Avatar",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://api.atlassian.com/rest/api/3/universal_avatar/type/:type/owner/:owningObjectId/avatar/:id",
"params": [
{
"name": "type",
"value": "",
"type": "path",
"description": "The avatar type."
},
{
"name": "owningObjectId",
"value": "",
"type": "path",
"description": "The ID of the item the avatar is associated with."
},
{
"name": "id",
"value": "",
"type": "path",
"description": "The ID of the avatar."
}
]
},
"docs": "Deletes an avatar from a project or issue type.
**[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg)."
},
{
"info": {
"name": "Atlassian Get Avatar Image By Type",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/rest/api/3/universal_avatar/view/type/:type",
"params": [
{
"name": "type",
"value": "",
"type": "path",
"description": "The icon type of the avatar."
},
{
"name": "size",
"value": "",
"type": "query",
"description": "The size of the avatar image. If not provided the default size is returned."
},
{
"name": "format",
"value": "",
"type": "query",
"description": "The format to return the avatar image in. If not provided the original content format is returned."
}
]
},
"docs": "Returns the default project or issue type avatar image.
This operation can be accessed anonymously.
**[Permissions](#permissions) required:** None."
},
{
"info": {
"name": "Atlassian Get Avatar Image By Id",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/rest/api/3/universal_avatar/view/type/:type/avatar/:id",
"params": [
{
"name": "type",
"value": "",
"type": "path",
"description": "The icon type of the avatar."
},
{
"name": "id",
"value": "",
"type": "path",
"description": "The ID of the avatar."
},
{
"name": "size",
"value": "",
"type": "query",
"description": "The size of the avatar image. If not provided the default size is returned."
},
{
"name": "format",
"value": "",
"type": "query",
"description": "The format to return the avatar image in. If not provided the original content format is returned."
}
]
},
"docs": "Returns a project or issue type avatar image by ID.
This operation can be accessed anonymously.
**[Permissions](#permissions) required:**
* For system avatars, none.
* For custom project avatars, *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project the avatar belongs to.
* For custom issue type avatars, *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for at least one project the issue "
},
{
"info": {
"name": "Atlassian Get Avatar Image By Owner",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://api.atlassian.com/rest/api/3/universal_avatar/view/type/:type/owner/:entityId",
"params": [
{
"name": "type",
"value": "",
"type": "path",
"description": "The icon type of the avatar."
},
{
"name": "entityId",
"value": "",
"type": "path",
"description": "The ID of the project or issue type the avatar belongs to."
},
{
"name": "size",
"value": "",
"type": "query",
"description": "The size of the avatar image. If not provided the default size is returned."
},
{
"name": "format",
"value": "",
"type": "query",
"description": "The format to return the avatar image in. If not provided the original content format is returned."
}
]
},
"docs": "Returns the avatar image for a project or issue type.
This operation can be accessed anonymously.
**[Permissions](#permissions) required:**
* For system avatars, none.
* For custom project avatars, *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project the avatar belongs to.
* For custom issue type avatars, *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for at least one project the issu"
}
]
}
],
"bundled": true
}