Back to AsanaSubmit Parallel Requests
Make multiple requests in parallel to Asana's API.
Input
type: object
properties:
parameters:
type: object
properties:
opt_pretty:
type: boolean
description: >-
Provides “pretty” output.
Provides the response in a “pretty” format. In the case of JSON this
means doing proper line breaking and indentation to make it readable.
This will take extra time and increase the response size so it is
advisable only to use this during debugging.
opt_fields:
type: array
items:
type: string
description: >-
Defines fields to return.
Some requests return *compact* representations of objects in order to
conserve resources and complete the request more efficiently. Other
times requests return more information than you may need. This option
allows you to list the exact set of fields that the API should be sure
to return for the objects. The field names should be provided as
paths, described below.
The id of included objects will always be returned, regardless of the
field options.
title: Parameters
data:
type: object
properties:
data:
type: object
properties:
actions:
type: array
items:
type: object
properties:
relative_path:
description: >-
The path of the desired endpoint relative to the API’s base
URL. Query parameters are not accepted here; put them in
`data` instead.
type: string
example: /tasks/123
method:
description: The HTTP method you wish to emulate for the action.
type: string
enum:
- get
- post
- put
- delete
- patch
- head
example: get
data:
type: object
properties:
assignee:
type: string
workspace:
type: string
options:
type: object
properties:
limit:
type: number
offset:
description: Pagination offset for the request.
type: integer
example: eyJ0eXAiOJiKV1iQLCJhbGciOiJIUzI1NiJ9
fields:
type: array
items:
type: string
title: Data
Output
type: object
properties:
data:
type: array
items:
type: object
properties:
status_code:
description: The HTTP status code that the invoked endpoint returned.
type: integer
example: 200
headers:
type: object
properties:
location:
type: string
body:
type: object
properties:
data:
type: object
properties:
gid:
type: string
completed:
type: boolean
name:
type: string
notes:
type: string