{
  "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.<br><br>This operation can be accessed anonymously.<br><br>**[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.<br><br>This operation can be accessed anonymously.<br><br>**[Permissions](#permissions) required:**<br><br> *  for custom project avatars, *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project the avatar belongs to.<br> *  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.<b"
        },
        {
          "info": {
            "name": "Atlassian Load Avatar",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "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."
              },
              {
                "name": "x",
                "value": "",
                "type": "query",
                "description": "The X coordinate of the top-left corner of the crop region."
              },
              {
                "name": "y",
                "value": "",
                "type": "query",
                "description": "The Y coordinate of the top-left corner of the crop region."
              },
              {
                "name": "size",
                "value": "",
                "type": "query",
                "description": "The length of each side of the crop region."
              }
            ]
          },
          "docs": "Loads a custom avatar for a project or issue type.<br><br>Specify the avatar's local file location in the body of the request. Also, include the following headers:<br><br> *  `X-Atlassian-Token: no-check` To prevent XSRF protection blocking the request, for more information see [Special Headers](#special-request-headers).<br> *  `Content-Type: image/image type` Valid image types are JPEG, GIF, or PNG.<br><br>For example:  <br>`curl --request POST `<br><br>`--user email@example.com: `<br><br>`--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.<br><br>**[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.<br><br>This operation can be accessed anonymously.<br><br>**[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.<br><br>This operation can be accessed anonymously.<br><br>**[Permissions](#permissions) required:**<br><br> *  For system avatars, none.<br> *  For custom project avatars, *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project the avatar belongs to.<br> *  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.<br><br>This operation can be accessed anonymously.<br><br>**[Permissions](#permissions) required:**<br><br> *  For system avatars, none.<br> *  For custom project avatars, *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project the avatar belongs to.<br> *  For custom issue type avatars, *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for at least one project the issu"
        }
      ]
    }
  ],
  "bundled": true
}