restEndpoint("https://app.asana.com", "/api/1.0/tasks", auth, data).
Seal a bearer token with read access to the project. Pass the same label to the receiver binder and as the app’s data.
Initialize with
{ profile: { mode: "provider", provider: "asana.tasks.observations", selection: "123456789", limit: 10 } }.
Set selection to the project’s numeric GID as text. Records are keyed
by task GID and include the name, completion, due date, assignee GID, and
created and modified times where Asana supplies them. The page bound is
1–100 tasks and 36 KiB. Only the next_page.offset token is passed to
the original route. A null next_page ends the sweep, and a later poll
starts at the beginning. Absent or deleted tasks remain published.
The feed requires the bundled parser artifact.
Asana tasks API
Write tasks
Follow the native write app guide. BindproviderWriter("asana.tasks.create-update-delete", { endpoint: "https://app.asana.com", auth }, data) and pass it as receivers.writers["asana.tasks.create-update-delete"]. Use an Asana token permitted to create, update and trash tasks. Send { data: { … } } and include the intended project when creating a task. The credential controls task access. Create and update require HTTP 201 and 200 respectively with data.gid. Delete accepts HTTP 200 for the requested task and sends it to Asana Trash.
The writer records its evidence under the app’s data label. Commands take up to 24 KiB of JSON and carry no read cursor.
Provider write API
Projects, sections, subtasks, stories and users
Bind a separateproviderEndpoint at https://app.asana.com for each
resource. Use sealed bearer or OAuth2 authorization and pass the same protected label to the receiver binder and as the app’s data.
Use a
limit of 1–100. Each response can carry up to 36 KiB.
Records take their exact GID as the key. The app submits only the
opaque next_page.offset to the installed route. Sweeps restart at the
end and keep absent records published.
Projects ·
Sections ·
Subtasks ·
Stories ·
Users