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.This operation can be accessed anonymously.Permissions required: None, however, a share permission is only returned for:
filters owned by the user.
filters shared with a group that the user is a member of.
filters shared with a private project that the user has Browse projectsproject permission for.
filters shared with a public project.
filters shared with the public.
请求示例请求示例
Shell
JavaScript
Java
Swift
curl--location-g--request GET 'http:///rest/api/3/filter//permission/'
响应示例响应示例
200 - 成功示例
{"id":10000,"type":"global"}
请求参数
Path 参数
返回响应
🟢200Returned if the request is successful.
application/json
Body
🟠401Returned if the authentication credentials are incorrect or missing.
🟠404Returned if:
* the filter is not found.
* the permission is not found.
* the user does not have permission to view the filter.