getWatchesForSpace method
Returns all space watches for the space that the content is in. A user that watches a space will receive receive notifications when any content in the space is updated.
If you want to manage watches for a space, use the following user
methods:
Permissions required: Permission to access the Confluence site ('Can use' global permission).
Implementation
Future<SpaceWatchArray> getWatchesForSpace(
{required String id, int? start, int? limit}) async {
return SpaceWatchArray.fromJson(await _client.send(
'get',
'wiki/rest/api/content/{id}/notification/created',
pathParameters: {
'id': id,
},
queryParameters: {
if (start != null) 'start': '$start',
if (limit != null) 'limit': '$limit',
},
));
}