Skip to main content

Task templates

OpenAPI Specification

Public API (0.0.0)

2GIS GeoFlow Public API

task-templates

Getting a list of task templates

Returns a page with a list of task templates.

Authorizations:
BearerAuth
query Parameters
limit
required
integer

Maximum number of templates in the response, from 1 to 100.

cursor
string

Cursor for getting the next or previous page of results.

Responses

Response Schema: application/json
required
object (CursorResponse)

Cursors for the next and previous result pages.

required
Array of objects (TaskTemplateResponse)

Current page items.

Response samples

Content type
application/json
{
  • "cursor": {
    • "next": "string",
    • "prev": "string"
    },
  • "items": [
    • {
      }
    ]
}

Getting a task template

Returns a task template by its identifier.

Authorizations:
BearerAuth
path Parameters
id
required
string <uuid>

Task template identifier.

Responses

Response Schema: application/json
required
Array of objects (TemplateAttribute)

Task template attributes.

created_at
required
string <date-time>

Date and time of template creation in RFC 3339 format.

id
required
string <uuid>

Task template identifier.

name
required
string

Task template name.

updated_at
required
string <date-time>

Date and time of the template last update in RFC 3339 format.

Response samples

Content type
application/json
{
  • "attributes": [
    • {
      }
    ],
  • "created_at": "2019-08-24T14:15:22Z",
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "string",
  • "updated_at": "2019-08-24T14:15:22Z"
}