Skip to content
GitmoapAPIBeta
Schema

CreateAnchorRequest

Shape

  • end_lineinteger · int320–∞
  • pathRepoPath (string)
  • pinned_at_shaCommitHash (string)The commit the path and line range refer to. It must be reachable from the default branch, since the platform follows the region along that branch.
  • start_lineinteger · int320–∞
  • kindAnchorKindoptional
  • on_orphanOrphanActionflagclose_issueoptionalWhat happens to the work item when its anchor is orphaned.

Example

Synthesized example
{
"end_line": 83,
"path": "path-1436",
"pinned_at_sha": "f95132a1fa58a6e84aded9b6e54c9337392406d1",
"start_line": 70,
"kind": {
"kind": "region"
},
"on_orphan": "flag"
}

Graph

Used inside

No schema contains this one.

Contains

Used by

Returned by 0 operations

No operation returns it directly.