RoadOpsDeveloper

Task Notes

Ask

List task notes

GET/v1/teams/{teamId}/days/{dayId}/tasks/{taskId}/notes

Lists the flat note thread for a visible Task.

Required scopes: task_note:read

Parameters

path.teamIdrequiredstring:uuid

Team identifier.

path.dayIdrequiredstring:uuid

Day identifier.

path.taskIdrequiredstring:uuid

Task identifier.

query.limitinteger

Maximum number of records to return. Defaults to 50 and is capped at 200.

query.cursorstring

Cursor returned by page.nextCursor from the previous list response.

Response 200

dataobject[]
data[].idstring:uuid

Task note identifier.

data[].orgIdstring:uuid

Organization identifier.

data[].taskIdstring:uuid

Parent Task identifier.

data[].dayIdstring:uuid

Associated Day identifier used for activity and sync.

data[].bodystring

Plain-text Task note body.

data[].authorIdstring:uuid

RoadOps user ID of the note author.

data[].createdAtstring:date-time

UTC note creation timestamp.

data[].updatedAtstring:date-time

UTC timestamp of the latest note change.

data[].isDeletedboolean

Soft-delete flag.

data[].versioninteger

Current note aggregate version.

data[].cursorinteger

Latest cursor projected into this note.

pageobject
page.limitinteger

Maximum number of records returned in this page.

page.nextCursorstring | null

Cursor to pass as the next request's cursor query parameter, or null when there are no more results.

Add a task note

POST/v1/teams/{teamId}/days/{dayId}/tasks/{taskId}/notes

Adds a plain-text note to a visible Task.

Required scopes: task_note:write

Parameters

path.teamIdrequiredstring:uuid

Team identifier.

path.dayIdrequiredstring:uuid

Day identifier.

path.taskIdrequiredstring:uuid

Task identifier.

header.Idempotency-Keystring:uuid

Optional caller-generated UUID used to make mutation retries safe. Reuse the same UUID only when retrying the same request.

Request body (application/json)

idstring:uuid
bodyrequiredstring

Plain-text Task note body.

Response 202

commandIdstring:uuid

Command identifier accepted into the RoadOps command ledger.

resourceIdstring:uuid

Identifier of the resource targeted by the command.

resourceTypestring

Resource type targeted by the command.

status"applied"

Command dispatch status.

aggregateVersioninteger

Aggregate version produced by the accepted command.

cursorinteger

Cursor for the accepted update. Refetch until returned records reach this cursor.

linksobject
links.refetchstring

Relative URL to refetch the affected resource.

Update a task note

PATCH/v1/teams/{teamId}/days/{dayId}/tasks/{taskId}/notes/{noteId}

Updates a Task note subject to author or Manage All rules.

Required scopes: task_note:write

Parameters

path.teamIdrequiredstring:uuid

Team identifier.

path.dayIdrequiredstring:uuid

Day identifier.

path.taskIdrequiredstring:uuid

Task identifier.

path.noteIdrequiredstring:uuid

Note identifier.

header.Idempotency-Keystring:uuid

Optional caller-generated UUID used to make mutation retries safe. Reuse the same UUID only when retrying the same request.

Request body (application/json)

expectedVersioninteger
bodyrequiredstring

Plain-text Task note body.

Response 202

commandIdstring:uuid

Command identifier accepted into the RoadOps command ledger.

resourceIdstring:uuid

Identifier of the resource targeted by the command.

resourceTypestring

Resource type targeted by the command.

status"applied"

Command dispatch status.

aggregateVersioninteger

Aggregate version produced by the accepted command.

cursorinteger

Cursor for the accepted update. Refetch until returned records reach this cursor.

linksobject
links.refetchstring

Relative URL to refetch the affected resource.

Delete a task note

DELETE/v1/teams/{teamId}/days/{dayId}/tasks/{taskId}/notes/{noteId}

Deletes a Task note subject to author or Manage All rules.

Required scopes: task_note:write

Parameters

path.teamIdrequiredstring:uuid

Team identifier.

path.dayIdrequiredstring:uuid

Day identifier.

path.taskIdrequiredstring:uuid

Task identifier.

path.noteIdrequiredstring:uuid

Note identifier.

header.Idempotency-Keystring:uuid

Optional caller-generated UUID used to make mutation retries safe. Reuse the same UUID only when retrying the same request.

Response 202

commandIdstring:uuid

Command identifier accepted into the RoadOps command ledger.

resourceIdstring:uuid

Identifier of the resource targeted by the command.

resourceTypestring

Resource type targeted by the command.

status"applied"

Command dispatch status.

aggregateVersioninteger

Aggregate version produced by the accepted command.

cursorinteger

Cursor for the accepted update. Refetch until returned records reach this cursor.

linksobject
links.refetchstring

Relative URL to refetch the affected resource.