Partek Flow Documentation

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 

Parameter

Type

Description

project OR project_filtername

string

Only return tasks in this project

user_filter

string

Only return tasks run by this user

The name of a project

project_idintegerThe ID of a project

user_name

string

The username of a user

user_idintegerThe ID of a user
statusstringThe task status: Pending, Waiting, Running, Done, Canceled, Failed

 

Responses

200: application/json

...

404: Returned if the specified project can not be found.

 

/queue/cancel


POST, GET

Cancels the specified task(s)

 

Optional parameters

 

Parameter

Type

Description

project OR project_name

string

The name of a project

project_idintegerThe ID of a project

user_name

string

The username of a user

user_idintegerThe ID of a user
statusstringThe task status: Pending, Waiting, Running, Done, Canceled, Failed

 

Responses

200: application/json

The number of tasks canceled

403: Returned if the user does not have permission to view the queue.

404: Returned if the specified project can not be found.

 

Example

http://example.com:8080/flow/api/v1/queue/tasks

...

id, name, displayName, isOnline, tasksInQueue, diskQuota, diskUsage (in gigabytes)

Tasks

/tasks


POST, GET

Returns a summary of tasks run on the server

...

Parameter

Type

Description

idintegerA specific task ID

user_name

OR user_id

string

integer

The name of a user

The ID of a user

project

OR project_id

string

integer

The name of a project

The ID of a project

statusstringA task status (e.g. Done, Running, Pending)

task

string

The type of task (e.g. Bowtie)

...