TaskMonk (1.1)

Download OpenAPI specification:Download

APIs to integrate with TaskMonk service. Refer to http://docs.taskmonk.io/concepts.html for an overview.

Batch

Create a batch

Authorizations:
oauth_2_0
path Parameters
project_id
required
string
Request Body schema: application/json
batch_name
required
string
priority
integer <int32>
comments
string

Responses

Request samples

Content type
application/json
{
  • "batch_name": "string",
  • "priority": 0,
  • "comments": "string"
}

Response samples

Content type
application/json
{
  • "id": "string"
}

Get batches of a project

Authorizations:
oauth_2_0
path Parameters
project_id
required
string

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "project_id": "string",
  • "name": "string"
}

Edit batch

Authorizations:
oauth_2_0
path Parameters
project_id
required
string
batch_id
required
string
Request Body schema: application/json
batch_name
required
string
priority
integer <int32>
comments
string

Responses

Request samples

Content type
application/json
{
  • "batch_name": "string",
  • "priority": 0,
  • "comments": "string"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "message": "string"
}

Change batch state

Authorizations:
oauth_2_0
path Parameters
batch_id
required
string
Request Body schema: application/json
state
required
string

Responses

Request samples

Content type
application/json
{
  • "state": "string"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "message": "string"
}

Query batches

Authorizations:
oauth_2_0
path Parameters
project_id
required
string
query Parameters
start_batch
string
end_batch
string
page_size
integer <int32>
page_number
integer <int32>

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "page": 0,
  • "page_size": 0,
  • "total": 0
}

Query projects and batches

Authorizations:
oauth_2_0
path Parameters
org_id
required
string
query Parameters
start_date
string <date>
end_date
string <date>

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Status

Get status of a batch

Authorizations:
oauth_2_0
path Parameters
batch_id
required
string

Responses

Response samples

Content type
application/json
{
  • "in_progress": 0,
  • "completed": 0,
  • "total": 0,
  • "rejected": 0,
  • "state": "string"
}

Get job progress

Authorizations:
oauth_2_0
path Parameters
job_id
required
string

Responses

Response samples

Content type
application/json
{
  • "completed": 0,
  • "total": 0,
  • "error_msg": "string"
}

taxonomy

Get taxonomy

Authorizations:
oauth_2_0
path Parameters
project_id
required
string
taxonomy_id
required
string
query Parameters
file_type
required
string

Responses

Response samples

Content type
application/json
{
  • "taxonomy": {
    },
  • "categories": [
    ]
}

Create new taxonomy

Authorizations:
oauth_2_0
path Parameters
project_id
required
string
Request Body schema: application/json
name
required
string

Name of the new taxonomy

Responses

Request samples

Content type
application/json
{
  • "name": "string"
}

Response samples

Content type
application/json
{
  • "id": "string"
}

Import taxonomy

Authorizations:
oauth_2_0
path Parameters
project_id
required
string
taxonomy_id
required
string
query Parameters
file_type
string
Request Body schema: multipart/form-data
file
string <binary>

Responses

Task Upload

Import tasks from file

Authorizations:
oauth_2_0
path Parameters
project_id
required
string
batch_id
required
string
query Parameters
fileType
required
string
Request Body schema: multipart/form-data
file
string <binary>

Responses

Response samples

Content type
application/json
{
  • "jobId": "string",
  • "batchId": "string",
  • "excelJobId": "string"
}

Import tasks from dictionary

Authorizations:
oauth_2_0
path Parameters
batch_id
required
string
Request Body schema: application/json
external_id
string
batch_id
string
data
object

Responses

Request samples

Content type
application/json
{
  • "external_id": "string",
  • "batch_id": "string",
  • "data": { }
}

Import tasks from URL

Authorizations:
oauth_2_0
path Parameters
batch_id
required
string
query Parameters
file_url
required
string
file_type
required
string

Responses

Response samples

Content type
application/json
{
  • "jobId": "string",
  • "batchId": "string",
  • "excelJobId": "string"
}

Import tasks from cloud

Authorizations:
oauth_2_0
path Parameters
project_id
required
string
batch_id
required
string
Request Body schema: application/json
One of
folderName
required
string
extension
required
string

Responses

Request samples

Content type
application/json
Example
{
  • "folderName": "string",
  • "extension": "string"
}

Response samples

Content type
application/json
{
  • "jobId": "string",
  • "batchId": "string",
  • "excelJobId": "string"
}

Export Data

Get batch output file

Authorizations:
oauth_2_0
path Parameters
project_id
required
string
batch_id
required
string
query Parameters
output_format
string
Request Body schema: application/json
field_names
required
Array of strings

Responses

Request samples

Content type
application/json
{
  • "field_names": [
    ]
}

Response samples

Content type
application/json
{
  • "job_id": "string",
  • "file_url": "string"
}

Get batch output dictionary

Authorizations:
oauth_2_0
path Parameters
batch_id
required
string

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "page": 0,
  • "page_size": 0,
  • "total": 0
}

Get project output file

Authorizations:
oauth_2_0
path Parameters
project_id
required
string
query Parameters
output_format
string
Request Body schema: application/json
start_time
required
string <date-time>

All tasks submitted after this time will be exported. Sample format: "2024-10-05T09:36:00"

end_time
required
string <date-time>

All tasks submitted before this time will be exported. Must not be more than 30 days from start_time.

field_names
Array of strings

Optional list of fields to include in the output. If omitted or empty, all fields are returned.

Responses

Request samples

Content type
application/json
{
  • "start_time": "2019-08-24T14:15:22Z",
  • "end_time": "2019-08-24T14:15:22Z",
  • "field_names": [
    ]
}

Response samples

Content type
application/json
{
  • "job_id": "string",
  • "file_url": "string"
}