sessions

List the local branches and pull requests a workspace review can read, checked-out branch first

Changed on
get/api/v1/sessions/{sessionId}/workspace/branches

Request

  • Base URL
    http://127.0.0.1:3001
  • URL
    http://127.0.0.1:3001/api/v1/sessions/{sessionId}/workspace/branches
  • Auth
    none declared

Path parameters

sessionIdstring required

Session identifier, e.g. project-1.

Response

OK

defaultBranchstring
sessionIdstring required
supportedboolean required

False for scratch sessions, which have no Git history.

truncatedboolean required

Changes

    • info

      removed the agent_switch_saga enum value from the response property for the response status

    • info

      removed the agent_switch_saga enum value from the response property for the response status

    • info

      removed the agent_switch_saga enum value from the response property for the response status

    • info

      endpoint added