{
  "opencollection": "1.0.0",
  "info": {
    "name": "Atlassian Admin Account Project Avatars API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Project Avatars",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Atlassian Set Project Avatar",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.atlassian.com/rest/api/3/project/:projectIdOrKey/avatar",
            "params": [
              {
                "name": "projectIdOrKey",
                "value": "",
                "type": "path",
                "description": "The ID or (case-sensitive) key of the project."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Sets the avatar displayed for a project.<br><br>Use [Load project avatar](#api-rest-api-3-project-projectIdOrKey-avatar2-post) to store avatars against the project, before using this operation to set the displayed avatar.<br><br>**[Permissions](#permissions) required:** *Administer projects* [project permission](https://confluence.atlassian.com/x/yodKLg)."
        },
        {
          "info": {
            "name": "Atlassian Delete Project Avatar",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.atlassian.com/rest/api/3/project/:projectIdOrKey/avatar/:id",
            "params": [
              {
                "name": "projectIdOrKey",
                "value": "",
                "type": "path",
                "description": "The project ID or (case-sensitive) key."
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the avatar."
              }
            ]
          },
          "docs": "Deletes a custom avatar from a project. Note that system avatars cannot be deleted.<br><br>**[Permissions](#permissions) required:** *Administer projects* [project permission](https://confluence.atlassian.com/x/yodKLg)."
        },
        {
          "info": {
            "name": "Atlassian Load Project Avatar",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.atlassian.com/rest/api/3/project/:projectIdOrKey/avatar2",
            "params": [
              {
                "name": "projectIdOrKey",
                "value": "",
                "type": "path",
                "description": "The ID or (case-sensitive) key of the project."
              },
              {
                "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 an avatar for a project.<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>`--header 'X-Atlassian-T"
        },
        {
          "info": {
            "name": "Atlassian Get All Project Avatars",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.atlassian.com/rest/api/3/project/:projectIdOrKey/avatars",
            "params": [
              {
                "name": "projectIdOrKey",
                "value": "",
                "type": "path",
                "description": "The ID or (case-sensitive) key of the project."
              }
            ]
          },
          "docs": "Returns all project avatars, grouped by system and custom avatars.<br><br>This operation can be accessed anonymously.<br><br>**[Permissions](#permissions) required:** *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project."
        }
      ]
    }
  ],
  "bundled": true
}