Tasks

Embed
Preview of the card
<a href="https://indrava.forumulate.com/docs/ref-tasks"><img src="https://indrava.forumulate.com/docs/_api/public/orgs/e421ace4-3e78-4ed8-9818-7b4899cf3aa0/spaces/2bcc7f09-4489-40af-85d8-9fdd3f3da314/pages/0a88adc4-ab45-497b-8b1b-895b003b8405/social-card.svg?v=3e7ae33eec8b" alt="Tasks" width="600" height="315"></a>
GET http://localhost:4000/api/v1/posts/{postId}/tasks

List the tasks on a post

Parameters

postId
string
path
required

Code samples

cURL
curl -X GET "http://localhost:4000/api/v1/posts/{postId}/tasks" \
  -H "Authorization: Bearer $API_KEY"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
Example
{}
Option 1
{}
Option 2
{}
POST http://localhost:4000/api/v1/posts/{postId}/tasks

Give a teammate a task on a post

Needs text and assigneeId (an Atlas user id); dueAt is optional. The assignee is told.

Parameters

postId
string
path
required

Request body

application/json
assigneeId
string
required
text
string
required
dueAt
string
{
  "assigneeId": "string",
  "text": "string",
  "dueAt": "2024-01-01T00:00:00Z"
}

Code samples

cURL
curl -X POST "http://localhost:4000/api/v1/posts/{postId}/tasks" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"assigneeId":"string","text":"string","dueAt":"2024-01-01T00:00:00Z"}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
Example
{}
Option 1
{}
Option 2
{}
POST http://localhost:4000/api/v1/posts/tasks

Give a teammate the same task on up to 100 posts

Request body

application/json
assigneeId
string
required
text
string
required
dueAt
string
postIds
string[]
required
{
  "assigneeId": "string",
  "text": "string",
  "dueAt": "2024-01-01T00:00:00Z",
  "postIds": [
    "string"
  ]
}

Code samples

cURL
curl -X POST "http://localhost:4000/api/v1/posts/tasks" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"assigneeId":"string","text":"string","dueAt":"2024-01-01T00:00:00Z","postIds":["string"]}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
Example
{}
Option 1
{}
Option 2
{}
DELETE http://localhost:4000/api/v1/posts/tasks/{id}

Delete a task

Parameters

id
string
path
required

Code samples

cURL
curl -X DELETE "http://localhost:4000/api/v1/posts/tasks/{id}" \
  -H "Authorization: Bearer $API_KEY"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
Example
{}
Option 1
{}
Option 2
{}
PATCH http://localhost:4000/api/v1/posts/tasks/{id}

Change a task, or mark it done

Parameters

id
string
path
required

Request body

application/json
text
string
dueAt
string
assigneeId
string
done
boolean
{
  "text": "string",
  "dueAt": "2024-01-01T00:00:00Z",
  "assigneeId": "string",
  "done": true
}

Code samples

cURL
curl -X PATCH "http://localhost:4000/api/v1/posts/tasks/{id}" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text":"string","dueAt":"2024-01-01T00:00:00Z","assigneeId":"string","done":true}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
Example
{}
Option 1
{}
Option 2
{}
Updated