Method Summary
Public Methods | ||
public |
Create new tag |
|
public |
Fetch paginated tag items |
|
public |
Fetch single tag |
|
public |
Remove (delete) tag |
|
public |
reset(): * |
|
public |
Run a query on the search endpoint. |
|
public |
Update existing tag |
|
public |
updatePagination(pagination: *): * |
|
public |
updateTag(tag: *): * |
|
public |
updateTags(tags: *): * |
Inherited Summary
From class BaseService | ||
public |
Preform a DELETE action |
|
public |
Preform a GET action |
|
public |
Preform a POST action |
|
public |
postUpload(url: string, data: object, params: object): object Preform a POST action |
|
public |
Preform a PUT action |
Public Methods
public fetch(opts: object): * source
Fetch paginated tag items
Params:
Name | Type | Attribute | Description |
opts | object | Hash of query options |
Return:
* |
public fetchOne(id: string, opts: object, forceUpdate: Boolean): * source
Fetch single tag
Return:
* |
public remove(id: string): * source
Remove (delete) tag
Params:
Name | Type | Attribute | Description |
id | string |
Return:
* |
public search(opts: object): * source
Run a query on the search endpoint. See search docs for query info
Params:
Name | Type | Attribute | Description |
opts | object | Query has |
Return:
* |
public updatePagination(pagination: *): * source
Params:
Name | Type | Attribute | Description |
pagination | * |
Return:
* |