Class AdminAPI
Extends
Chainback.
Defined in: admin.js.
Constructor Attributes | Constructor Name and Description |
---|---|
AdminAPI()
Admin object.
|
Method Attributes | Method Name and Description |
---|---|
<static> |
AdminAPI.constructs(success, error)
Retrieves a list of all constructs and constructs categories and
passes it as the only argument into the `success()' callback.
|
Method Detail
<static>
AdminAPI.constructs(success, error)
Retrieves a list of all constructs and constructs categories and
passes it as the only argument into the `success()' callback.
- Parameters:
- {function(Array. success
- Callback to receive an array of constructs.
- {function(GCNError):boolean=} error
- Custom error handler.
- Throws:
- INVALID_ARGUMENTS
- Returns:
- undefined