Class AdminAPI
Extends
Chainback.
Defined in: admin.js.
Constructor Attributes | Constructor Name and Description |
---|---|
AdminAPI()
The AdminAPI is exposed via GCN.Admin.
|
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.
|
Class Detail
AdminAPI()
The AdminAPI is exposed via GCN.Admin. The AdminAPI is not meant
to be instatiated by the implementer. Stick to using GCN.Admin.
Method Detail
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