WRITE — Builder Mode: put an extension back to an earlier version (from kphi_ext_versions)

WRITE — Builder Mode: put an extension back to an earlier version (from kphi_ext_versions). K-Φ makes a NEW version with exactly the files of that one and the service redeploys; nothing is erased, so a restore can be undone the same way. Confirm with the user which version first. Needs the write:code scope and a builder (or the extension's own key).

post/api/v1/ext_restore

Request

  • Base URL: https://k-phi.com (the document declares no server; this is the origin it was published from)
  • URL: https://k-phi.com/api/v1/ext_restore
  • Auth: HTTP bearer

Request body

extension_idstring

The extension (see kphi_ext_code_list without arguments). An extension key reaches its own extension and may omit it.

versionstring required

The version to go back to (7 characters, from kphi_ext_versions).

Response

OK

dataobject

Changes

No recorded changes to this operation across all 1 revision of this API.