Get Assignment

Get a specific assignment

Request
path Parameters
id
required
string

: Assignment ID

Responses
200

Ok

400

Missing or Invalid id

404

Assignment not found

get/assignments/{id}
Request samples

assignment = task.assignments.get(assignment_id='assignment_id')

# 
# Get Assignment object to use it in your code.
# 
# :param str assignment_name: optional - search by name
# :param str assignment_id: optional - search by id
# :return: Assignment object
# :rtype: dtlpy.entities.assignment.Assignment
# 
# 
Response samples
application/json
{
  • "id": "string",
  • "url": "string",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "updatedBy": "string",
  • "name": "string",
  • "annotator": "string",
  • "status": "todo",
  • "projectId": "string",
  • "metadata": {
    },
  • "totalItems": 0,
  • "itemStatus": {
    },
  • "taskType": "string",
  • "progress": 0,
  • "forReview": 0,
  • "issues": 0,
  • "inRedistributeProcess": "2019-08-24T14:15:22Z",
  • "error": "string",
  • "priority": 0
}