sessions

Resolve the current source of a captured file annotation without modifying it

Changed on
post/api/v1/sessions/{sessionId}/conversation/file-references/resolve

Request

  • Base URL
    http://127.0.0.1:3001
  • URL
    http://127.0.0.1:3001/api/v1/sessions/{sessionId}/conversation/file-references/resolve
  • Auth
    none declared

Path parameters

sessionIdstring required

Session identifier, e.g. project-1.

Request body

commitShastring
endLineinteger required
endSide'file' | 'old' | 'new'
fileFingerprintstring
hostIdstring
idstring required
lineinteger required
orderinteger
pathstring required
previousPathstring
scopestring
sessionIdstring required
side'file' | 'old' | 'new' required
truncatedboolean required
workspaceVersionstring

Response

OK

endLineinteger
lineinteger
newLineOffsetinteger
oldLineOffsetinteger
pathstring
reasonstring
sidestring
state'unchanged' | 'changed' | 'unavailable' | 'moved' required

Changes

    • warning

      added the new moved enum value to the response property for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      endpoint added