IssueAnchorMetadata
The metadata an anchor event and its timeline activity carry.
Shape
- anchor_idAnchorId (string · uuid)
- drift_scorenumber · float
- kindstring
- repository_idRepositoryId (string · uuid)
- resolved_end_lineinteger · int320–∞
- resolved_pathRepoPath (string)
- resolved_start_lineinteger · int320–∞
- stateAnchorStatelivedriftedorphanedneeds_reviewmanualWhere the anchored region stands now, as the platform last worked it out.
- from_end_lineinteger · int32 or nulloptional0–∞
- from_pathRepoPath (string) or nulloptionalThe file the anchor was in before this change, when it moved. Absent on creation.
- from_start_lineinteger · int32 or nulloptional0–∞
- last_touching_shaCommitHash (string) or nulloptional
- reasonOrphanReasonregion_deletedfile_deletedrewrittenor nulloptionalWhy an orphan is an orphan.
Example
Synthesized example{
"anchor_id": "746c3a2e-c6a8-4e4d-85e6-fb2c1bf8457f",
"drift_score": 57,
"kind": "kind-a037",
"repository_id": "5b0e7c2a-9d14-4e8b-a6f1-2c3d4e5f6a70",
"resolved_end_line": 71,
"resolved_path": "resolved-path-41aa",
"resolved_start_line": 23,
"state": "live",
"from_end_line": 54,
"from_path": "from-path-199f",
"from_start_line": 38,
"last_touching_sha": "bd5e2e41dcefd7c8a679d7ece9cfa30a184e8fb2",
"reason": "region_deleted"
}
Graph
Used inside
No schema contains this one.
Contains
No named schema inside.
Used by
Sent by 0 operations
No operation takes it as a request body.
Returned by 0 operations
No operation returns it directly.