getFilter method
Returns a filter.
This operation can be accessed anonymously.
Permissions required: None, however, the filter is only returned where it is:
- owned by the user.
- shared with a group that the user is a member of.
- shared with a private project that the user has Browse projects project permission for.
- shared with a public project.
- shared with the public.
Implementation
Future<Filter> getFilter(
{required int id, String? expand, bool? overrideSharePermissions}) async {
return Filter.fromJson(await _client.send(
'get',
'rest/api/3/filter/{id}',
pathParameters: {
'id': '$id',
},
queryParameters: {
if (expand != null) 'expand': expand,
if (overrideSharePermissions != null)
'overrideSharePermissions': '$overrideSharePermissions',
},
));
}