Task Attachments

Upload attachments to a subtask

Changed on

Upload up to 10 files in one multipart request under the field name files

post/v1/tasks/{taskId}/subtasks/{subtaskId}/attachments

Request

  • Base URL
    https://api.astravue.com
  • URL
    https://api.astravue.com/v1/tasks/{taskId}/subtasks/{subtaskId}/attachments
  • Auth
    none declared. Required headers: X-Org-Id

Path parameters

taskIdinteger required

ID of the parent task

subtaskIdinteger required

ID of the subtask

Headers

X-Org-Idinteger required

Organization ID

Request body multipart/form-data

filesstring[] required

Response

Attachments uploaded successfully

successboolean

Indicates if the operation was successful

messagestring

Message describing the result of the operation

codeinteger

HTTP status code of the response

timestampstring date-time

Timestamp of the response

Example response

{
  "success": true,
  "message": "Operation completed successfully",
  "code": 200,
  "timestamp": "2023-01-01T12:00:00Z"
}

Changes