Skip to content
GitHub
Try the demo

Tasks

Search

POST
/tasks/search
curl --request POST \
--url http://localhost:3000/api/v1/tasks/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "source": "jira", "query": "", "done": false, "limit": 1 }'

Tasks of one tracker, with the person’s own credentials.

Media typeapplication/json
SearchIn
object
source
required
Source
string
Allowed values: jira demo caldav github linear
query
Query
string
"" <= 2000 characters
done
Done
boolean
limit
Limit
Any of:
integer
>= 1 <= 100

Successful Response

Media typeapplication/json
SearchOut
object
tasks
required
Tasks
Array<object>
FoundTask
object
source
required
Source
string
key
required
Key
string
title
required
Title
string
status
required
Status
string
assignee
required
Assignee
Any of:
string
due
required
Due
Any of:
string format: date
url
required
Url
string
fetched_at
required
Fetched At
string
total
required
Total
integer
estimated
Estimated
boolean

Example

{
"estimated": false
}

No key, or a key that stopped working

Media typeapplication/json
Error

Every error of v1; clients must ignore codes they do not know.

object
error
required
ErrorDetail
object
code
required
Code
string
message
required
Message
string

Example generated

{
"error": {
"code": "example",
"message": "example"
}
}

The key may not do this, or keys are switched off

Media typeapplication/json
Error

Every error of v1; clients must ignore codes they do not know.

object
error
required
ErrorDetail
object
code
required
Code
string
message
required
Message
string

Example generated

{
"error": {
"code": "example",
"message": "example"
}
}

Not found, or not among what the key reaches

Media typeapplication/json
Error

Every error of v1; clients must ignore codes they do not know.

object
error
required
ErrorDetail
object
code
required
Code
string
message
required
Message
string

Example generated

{
"error": {
"code": "example",
"message": "example"
}
}

The request does not match the schema

Media typeapplication/json
Error

Every error of v1; clients must ignore codes they do not know.

object
error
required
ErrorDetail
object
code
required
Code
string
message
required
Message
string

Example generated

{
"error": {
"code": "example",
"message": "example"
}
}

Over a budget; see Retry-After

Media typeapplication/json
Error

Every error of v1; clients must ignore codes they do not know.

object
error
required
ErrorDetail
object
code
required
Code
string
message
required
Message
string

Example generated

{
"error": {
"code": "example",
"message": "example"
}
}