The Directory class exposes specialized methods to help
developers to access the directory (assets, tier configs, tier accounts).
Kind: global class
Category: Operations
Array
Array
Array
object
Array
object
Array
object
object
object
object
Creates an instance of the Directory class.
Returns: Directory
– An instance of the Directory class.
Param | Type | Description |
---|---|---|
client | ConnectClient |
An instance of the ConnectClient class. |
Array
Returns a list of Asset objects that match the provided
(optional) query.
Kind: instance method of Directory
Returns: Array
– An array of Asset object optionally matching the provided query.
Param | Type | Description |
---|---|---|
query | object |
The optional query to filter results. |
Array
Returns a list of TierConfiguration objects that match the provided
(optional) query.
Kind: instance method of Directory
Returns: Array
– An array of TierConfiguration object optionally
matching the provided query.
Param | Type | Description |
---|---|---|
query | object |
The optional query to filter results. |
Array
Returns a list of TierAccount objects that match the provided
(optional) query.
Kind: instance method of Directory
Returns: Array
– An array of TierAccount object optionally matching the provided query.
Param | Type | Description |
---|---|---|
query | object |
The optional query to filter results. |
object
Retrieve a TierAccount by its id.
Kind: instance method of Directory
Returns: object
– The TierAccount object.
Param | Type | Description |
---|---|---|
id | string |
The unique identifier of the TierAccount object. |
Array
Returns a list of Asset objects based on the productId and
the Asset externalId.
Kind: instance method of Directory
Returns: Array
– An array of Asset objects.
Param | Type | Description |
---|---|---|
productId | string |
The unique id of the Product related to this Asset. |
externalId | string |
The external identifier of the Asset. |
object
Creates a new TierAccountRequest
Kind: instance method of Directory
Returns: object
– The created TierAccountRequest object.
Param | Type | Description |
---|---|---|
request | object |
The TierAccountRequest object. |
Array
Returns a list of TierAccountRequest objects that match the provided
filters.
Kind: instance method of Directory
Returns: Array
– An array of TierAccountRequest objects
that match the provided filters.
Param | Type | Description |
---|---|---|
query | object |
A RQL query. |
object
Retrieve the TierAccountRequest object identified by its id.
Kind: instance method of Directory
Returns: object
– The TierAccountRequest object.
Param | Type | Description |
---|---|---|
id | string |
The unique identifier of the TierAccountRequest object. |
object
Accept the TierAccountRequest object identified by its id.
Kind: instance method of Directory
Returns: object
– The TierAccountRequest object.
Param | Type | Description |
---|---|---|
id | string |
The unique identifier of the TierAccountRequest object. |
object
Ignore the TierAccountRequest object identified by its id.
Kind: instance method of Directory
Returns: object
– The TierAccountRequest object.
Param | Type | Description |
---|---|---|
id | string |
The unique identifier of the TierAccountRequest object. |
reason | string |
The reason for which this request has been ignored. |
object
Returns the specified version of the TierAccount object identified by its id.
Kind: instance method of Directory
Returns: object
– The TierAccount object.
Param | Type | Description |
---|---|---|
id | string |
The unique identifier of the TierAccount object. |
version | string |
The version to be retrieved. |