Hierarchy

  • CommonHttpService
    • SpacePermissionsService

Constructors

  • Internal

    Create a new instance of the service.

    Parameters

    • getClientInstance: (() => CommonHttpClient)
        • (): CommonHttpClient
        • Returns CommonHttpClient

    Returns SpacePermissionsService

Methods

  • Returns space permission assignments for a specific space.

    Permissions required: Permission to view the space.

    Parameters

    • params: {
          cursor?: string;
          id: number;
          limit?: number;
      }
      • Optionalcursor?: string

        Used for pagination, this opaque cursor will be returned in the next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.

      • id: number

        The ID of the space to be returned.

      • Optionallimit?: number

        Maximum number of assignments to return. If more results exist, use the Link response header to retrieve a relative URL that will return the next set of results.

    Returns Promise<{
        _links?: MultiEntityLinks;
        results?: SpacePermissionAssignment[];
    } & {
        [key: string]: unknown;
    }>

    Returned if the requested assignments are returned.

  • Method to initialize the class. Normally used to set up validation rules.

    Returns void