메인 콘텐츠로 건너뛰기
PUT
/
task
/
{id}
Update Task
curl --request PUT \
  --url https://local.casebender.com:3000/api/task/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --header 'X-Api-Secret: <api-key>' \
  --data '
{
  "title": "<string>",
  "description": "<string>",
  "status": "<string>",
  "mandatory": true,
  "assigneeId": "<string>",
  "flagged": true,
  "dueDate": "<string>"
}
'
{
  "id": "<string>",
  "title": "<string>",
  "mandatory": true,
  "description": "<string>",
  "flagged": true,
  "dueDate": "<string>",
  "status": "<string>",
  "caseId": "<string>",
  "createdAt": "<string>",
  "updatedAt": "<string>",
  "createdById": "<string>",
  "assigneeId": "<string>",
  "deletedAt": "<string>"
}

인증

X-Api-Key
string
header
필수
X-Api-Secret
string
header
필수

경로 매개변수

id
string
필수

본문

application/json
title
string
description
string
status
string
mandatory
boolean
assigneeId
string | null
flagged
boolean
dueDate
string

응답

Successful response

id
string
필수
title
string
필수
mandatory
boolean
필수
description
string
필수
flagged
boolean
필수
dueDate
string
필수
status
string
필수
caseId
string
필수
createdAt
string
필수
updatedAt
string
필수
createdById
string
필수
assigneeId
string | null
deletedAt
string | null