Save a native editable file through the caller's Library grant [write]

Changed on

The same original source writer as the web editor. Requires live edit access and a source revision; stale source versions return 409. Grant revocation or downgrade while reading the request also prevents saving. Public links have no writer.

put/library/shared/{token}

Request

  • Base URL
    https://api.agentsky.dev/v1
  • URL
    https://api.agentsky.dev/v1/library/shared/{token}
  • Auth
    HTTP bearer

Path parameters

tokenstring required

Request body

revisionstring required
textstring
htmlstring
officestring

Native Office bytes as base64.

docxstring

Native Word document bytes as base64.

requestIdstring uuid
restoreRevisionstring

Response

Native document save receipt

urlstring required
revisionstring required

The revision acknowledged by this native write, never a later latest read.

publishedAtstring date-time required

Native publication time, or the host's acknowledgement time after the original writer succeeds.

textstring nullable
historyRevisionstring

Changes