IssueAnchor
A work item pinned to a region of code. The platform follows the region as later pushes to the default branch move or change it, and reports where it is now and how much it has changed.
Shape
object or object or object or object
Example
Synthesized example{
"anchor_id": "83aaad44-ec47-419a-859f-e36b4ed83b9a",
"content_digest": "content-digest-098e",
"created_at": "2026-10-14T19:34:19Z",
"created_by": {
"email": "mara@acme.example",
"id": "id-a09a",
"username": "mara",
"avatar_url": "https://gitmoap.example/acme/7b9d4f79"
},
"drift_score": 37,
"end_line": 8,
"issue_uid": "112fa027-48be-4b39-a8c6-d4808e074a1d",
"kind": "region",
"on_orphan": "flag",
"path": "path-6ddd",
"pinned_at_sha": "bb1616f3ea5a14b64315febeba0545062e936722",
"repository_id": "5b0e7c2a-9d14-4e8b-a6f1-2c3d4e5f6a70",
"resolved_at_sha": "d929e805db8f3c5dc531ffdd09d37ab9689b0e91",
"resolved_end_line": 60,
"resolved_path": "resolved-path-b529",
"resolved_start_line": 54,
"start_line": 62,
"state": "live",
"last_touching_sha": "6b5abaf0bf61e488d43a8c9295766a46eeef747f",
"last_transport_at": "2026-10-14T01:52:32Z"
}
Graph
Used inside
No schema contains this one.
Contains
Used by
Sent by 0 operations
No operation takes it as a request body.
Returned by 3 operations
- GETList the code anchors of a work item/repositories/{repo_id}/issues/{issue_id}/anchors
- PATCHUpdate a code anchor's state or orphan behaviour/repositories/{repo_id}/issues/{issue_id}/anchors/{anchor_id}
- POSTRe-resolve a code anchor against the current default-branch tip/repositories/{repo_id}/issues/{issue_id}/anchors/{anchor_id}/reresolve