write

Fastapi Publish Althea Document

Publish exactly one Althea document version with the abstract the user wrote for it.

Lacuna does not trust publication content supplied by the browser. It validates the token against the named, allowlisted Althea deployment, then fetches the export and the document pack from that same deployment as the token's owner.

post/api/v1/publications/althea

Request

  • Base URL: https://lacuna.tiptreesystems.com (the document declares no server; this is the origin it was published from)
  • URL: https://lacuna.tiptreesystems.com/api/v1/publications/althea
  • Auth: none declared

Request body

source_originstring required
source_document_idstring required
source_version_idstring required
abstractstring
content_sha256string nullable

Response

Successful Response

publication_idstring required
revision_idstring required
status'published' required
urlstring required
published_atnumber required
source_version_idstring required
revision_countinteger required

Changes

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