Publication
Draft

Update the latest draft

Updates the latest (unpublished) draft of a publication.

API credit cost: 3

patch/publications/{id}/draft

Request

  • Base URL
    https://telescope.ac/api
  • Auth
    none declared

Path parameters

idstring uuid required

ID of the publication.

Headers

Authorizationstring
Example:Bearer token

Request body

$schemastring uri

A URL to the JSON Schema for this object.

textstring

New body text (omit to keep current).

titlestring

New title (omit to keep current).

Example request

{
  "$schema": "/api/schemas/PatchPublicationDraftInputBody.json",
  "text": "Draft text",
  "title": "Draft title"
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

Example response

{
  "$schema": "/api/schemas/PatchPublicationDraftOutputBody.json",
  "draft": {
    "format": "html"
  }
}

Changes

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