getPageOperations method

Future<PermittedOperationsResponse> getPageOperations(
  1. int id
)

Returns the permitted operations on specific page.

Permissions required: Permission to view the parent content of the page and its corresponding space.

Implementation

Future<PermittedOperationsResponse> getPageOperations(int id) async {
  return PermittedOperationsResponse.fromJson(await _client.send(
    'get',
    'pages/{id}/operations',
    pathParameters: {
      'id': '$id',
    },
  ));
}