Repository navigation
Dispatcher.API
Phips Peter edited this page Jul 11, 2014
·
6 revisions
Table of Contents generated with DocToc
An HTTP wrapper for the Asana API
| Name | Type | Description |
|---|---|---|
authKey |
String | The key for request authentication |
authValue |
String | Object | The value for request authentication |
- Source:
-
Creates an Asana Url
Name Type Description pathString The path
- Source:
The url
- Type
- String
-
Dispatches a DELETE request
Name Type Description pathString The path of the API
- Source:
The response for the request
- Type
- Promise
-
Dispatches a request to the Asana API
Name Type Description paramsObject The params for request
- Source:
The response for the request
- Type
- Promise
-
Dispatches a GET request
Name Type Argument Description pathString The path of the API
queryObject <optional>
The query params
- Source:
The response for the request
- Type
- Promise
-
Dispatches a POST request
Name Type Description pathString The path of the API
dataObject The data to be sent
- Source:
The response for the request
- Type
- Promise
-
Dispatches a PUT request
Name Type Description pathString The path of the API
dataObject The data to be sent
- Source:
The response for the request
- Type
- Promise