sessions

Restore an artifact file to an earlier saved version

Changed on
post/api/v1/sessions/{sessionId}/artifact-versions/restore

Request

  • Base URL
    http://127.0.0.1:3001
  • URL
    http://127.0.0.1:3001/api/v1/sessions/{sessionId}/artifact-versions/restore
  • Auth
    none declared

Path parameters

sessionIdstring required

Session identifier, e.g. project-1.

Request body

pathstring required

Artifact-directory-relative file path, as listed in the session's artifactFiles.

versioninteger required

The version whose content becomes the file's content.

Response

OK

fileFingerprintstring required

Hex SHA-256 of the file's content.

pathstring required
sizeinteger 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

      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