getAdminPortalStructure method

Future<Object?> getAdminPortalStructure({
  1. required Object projectId,
  2. Map<String, Object?>? query,
  3. Object? body,
  4. Map<String, String>? headers,
})

GET /{version}/account/projects/{projectId}/admin-portal/structure

The admin portal's structure (collections, sections) for the project.

Implementation

Future<Object?> getAdminPortalStructure(
    {required Object projectId,
    Map<String, Object?>? query,
    Object? body,
    Map<String, String>? headers}) {
  return transport.send(
    route: '/{version}/account/projects/{projectId}/admin-portal/structure',
    method: 'GET',
    query: query,
    body: body,
    headers: headers,
    pathParams: <String, Object?>{'projectId': projectId},
  );
}