Skip to content
GitmoapAPIBeta
Schema

ListCodeTodosResponse

Shape

  • itemsarray of CodeTodo
    • The CodeTodo schema
    • content_digeststringThe TODO's identifier: a SHA-256 digest of its keyword and text, without the (@owner) or (#id) part or the comment syntax. It holds no path or line number, so moving the comment keeps the same TODO.
    • first_seen_atstring
    • first_seen_shaCommitHash (string)The commit (push head) that first added this marker.
    • lineinteger · int320–∞
    • markerMarkerKindTODOFIXMEHACKXXXBUGOPTIMIZEThe marker keywords the scanner recognises. Uppercase only — todo: and Todo: are everywhere in prose, README files and variable names, and lowering the case sensitivity to be "helpful" is how a scanner becomes a noise generator.
    • pathRepoPath (string)Where the TODO was last seen. It changes as the comment moves; content_digest does not.
    • region_digeststringA digest of the TODO's source line as a code region — what the anchor created on promotion starts with as its content_digest. Unlike content_digest, it includes any (#id).
    • repository_idRepositoryId (string · uuid)
    • textstringThe TODO's text, normalised, at most 255 characters.
    • authorActorSummaryoptionalThe author of the commit that added the TODO — the work item's creator if it is promoted.
    • issue_iidIssueId (integer · int64) or nulloptionalThe number of the work item this TODO was promoted into, in the same repository. Absent until it is promoted. gitmoap todo sync writes it back into the comment as (#id).
    • ownerstring or nulloptionalThe @username an author wrote in the marker (without the @), a suggested assignee on promotion. Absent when the marker named no owner.
    • promoted_atstring or nulloptional
  • next_tokenstring or nulloptional

Example

Synthesized example
{
"items": [
{
"content_digest": "content-digest-3ebf",
"first_seen_at": "2026-10-11T00:52:55Z",
"first_seen_sha": "c42267d973aeda6f797e64637fbfc7f192465d8a",
"line": 44,
"marker": "TODO",
"path": "path-b952",
"region_digest": "region-digest-02d5",
"repository_id": "5b0e7c2a-9d14-4e8b-a6f1-2c3d4e5f6a70",
"text": "text-6ad1"
},
{
"content_digest": "content-digest-042e",
"first_seen_at": "2026-10-13T08:41:30Z",
"first_seen_sha": "0bf8760f2bbaa63f2571f3bd68298fe645d2bb72",
"line": 73,
"marker": "TODO",
"path": "path-713c",
"region_digest": "region-digest-11c8",
"repository_id": "5b0e7c2a-9d14-4e8b-a6f1-2c3d4e5f6a70",
"text": "text-5bb4"
}
],
"next_token": "next-token-c888"
}

Graph

Used inside

No schema contains this one.

Contains

Used by

Sent by 0 operations

No operation takes it as a request body.