{
  "opencollection": "1.0.0",
  "info": {
    "name": "Atlassian Admin Account Filter Sharing API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Filter Sharing",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Atlassian Get Default Share Scope",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.atlassian.com/rest/api/3/filter/defaultShareScope"
          },
          "docs": "Returns the default sharing settings for new filters and dashboards for a user.<br><br>**[Permissions](#permissions) required:** Permission to access Jira."
        },
        {
          "info": {
            "name": "Atlassian Set Default Share Scope",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.atlassian.com/rest/api/3/filter/defaultShareScope",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Sets the default sharing for new filters and dashboards for a user.<br><br>**[Permissions](#permissions) required:** Permission to access Jira."
        },
        {
          "info": {
            "name": "Atlassian Get Share Permissions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.atlassian.com/rest/api/3/filter/:id/permission",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the filter."
              }
            ]
          },
          "docs": "Returns the share permissions for a filter. A filter can be shared with groups, projects, all logged-in users, or the public. Sharing with all logged-in users or the public is known as a global share permission.<br><br>This operation can be accessed anonymously.<br><br>**[Permissions](#permissions) required:** None, however, share permissions are only returned for:<br><br> *  filters owned by the user.<br> *  filters shared with a group that the user is a member of.<br> *  filters shared with a "
        },
        {
          "info": {
            "name": "Atlassian Add Share Permission",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.atlassian.com/rest/api/3/filter/:id/permission",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the filter."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Add a share permissions to a filter. If you add a global share permission (one for all logged-in users or the public) it will overwrite all share permissions for the filter.<br><br>Be aware that this operation uses different objects for updating share permissions compared to [Update filter](#api-rest-api-3-filter-id-put).<br><br>**[Permissions](#permissions) required:** *Share dashboards and filters* [global permission](https://confluence.atlassian.com/x/x4dKLg) and the user must own the filter."
        },
        {
          "info": {
            "name": "Atlassian Get Share Permission",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.atlassian.com/rest/api/3/filter/:id/permission/:permissionId",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the filter."
              },
              {
                "name": "permissionId",
                "value": "",
                "type": "path",
                "description": "The ID of the share permission."
              }
            ]
          },
          "docs": "Returns a share permission for a filter. A filter can be shared with groups, projects, all logged-in users, or the public. Sharing with all logged-in users or the public is known as a global share permission.<br><br>This operation can be accessed anonymously.<br><br>**[Permissions](#permissions) required:** None, however, a share permission is only returned for:<br><br> *  filters owned by the user.<br> *  filters shared with a group that the user is a member of.<br> *  filters shared with a pri"
        },
        {
          "info": {
            "name": "Atlassian Delete Share Permission",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.atlassian.com/rest/api/3/filter/:id/permission/:permissionId",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the filter."
              },
              {
                "name": "permissionId",
                "value": "",
                "type": "path",
                "description": "The ID of the share permission."
              }
            ]
          },
          "docs": "Deletes a share permission from a filter.<br><br>**[Permissions](#permissions) required:** Permission to access Jira and the user must own the filter."
        }
      ]
    }
  ],
  "bundled": true
}