Class

ScopeServices

ScopeServices(ctx)

Scope services.

Constructor

# new ScopeServices(ctx)

Parameters:
Name Type Description
ctx cnContext

Context instance

Since:
  • 1.0, 09.2025, aab

View Source infohub/Scope.js, line 162

Classes

ScopeServices

Methods

# async createScope(ScopeInfo_new) → {Promise.<ApiResponse>}

Create scope

Parameters:
Name Type Attributes Description
ScopeInfo_new object

Scope information

name string <optional>

Scope name

description string <optional>

Scope description

View Source infohub/Scope.js, line 286

Promise.<ApiResponse>

# async deleteScope(id) → {Promise.<ApiResponse>}

Delete scope

Parameters:
Name Type Description
id string

Scope ID

View Source infohub/Scope.js, line 345

Promise.<ApiResponse>

# async getScope(id) → {Promise.<ApiResponse>}

Get scope from COLNEO infohub

Parameters:
Name Type Description
id string

Scope ID

View Source infohub/Scope.js, line 183

data: Scope

Promise.<ApiResponse>

# async getScopeGroups(id, query) → {Promise.<ApiResponse>}

Get scope groups

Parameters:
Name Type Description
id string

Scope ID

query object

Query object containing filter, members, etc.

View Source infohub/Scope.js, line 227

Promise.<ApiResponse>

# async getScopeRoles(id, query) → {Promise.<ApiResponse>}

Get scope roles

Parameters:
Name Type Description
id string

Scope ID

query object

Query object containing filter, members, etc.

View Source infohub/Scope.js, line 256

Promise.<ApiResponse>

# async updateScope(id, ScopeInfo_update) → {Promise.<ApiResponse>}

Update scope

Parameters:
Name Type Attributes Description
id string

Scope ID

ScopeInfo_update object

Scope information

name string <optional>

Scope name

description string <optional>

Scope description

View Source infohub/Scope.js, line 317

Promise.<ApiResponse>