Skip to main content
PATCH
/
api
/
v1
/
time_logs
/
{id}
Atualizar registro de tempo
curl --request PATCH \
  --url https://app.synkrony.ai/api/v1/time_logs/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "time_log": {
    "user_id": 123,
    "task_id": 123,
    "project_id": 123,
    "name": "<string>",
    "start_time": "2023-11-07T05:31:56Z",
    "end_time": "2023-11-07T05:31:56Z"
  }
}
'
{
  "data": {
    "owner_id": 123,
    "owner_type": "<string>",
    "id": "<string>",
    "task": "<string>",
    "date": "<string>",
    "type": "<string>",
    "start_time": "<string>",
    "assignee": {
      "id": "<string>",
      "name": "<string>",
      "colorId": 123,
      "profilePictureUrl": "<string>"
    },
    "project_id": 123,
    "duration": "<string>",
    "end_time": "<string>",
    "sprint_id": 123
  }
}

Authorizations

Authorization
string
header
required

API token no formato Bearer. Exemplo: Bearer YOUR_API_TOKEN

Path Parameters

id
string
required

Body

application/json
time_log
object
required

Response

TimeLog updated successfully

data
object
required