Publication

Update a publication

Updates a publication.

API credit cost: 3

patch/publications/{id}

Request

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

Path parameters

idstring uuid required

ID of the publication to update.

Headers

Authorizationstring
Example:Bearer token

Request body

$schemastring uri

A URL to the JSON Schema for this object.

altstring

Rename URL slug.

published_draft_idstring uuid nullable

Set to a draft ID to publish it.

space_category_idstring uuid nullable

Change category (null to remove).

space_idstring uuid nullable

Move publication to a different space.

topic_idsstring[]

Replace topic IDs.

Example request

{
  "$schema": "/api/schemas/PatchPublicationInputBody.json",
  "alt": "existing-publication",
  "metadata": {
    "seo": {
      "description": "-",
      "keywords": "-"
    }
  }
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

Example response

{
  "$schema": "/api/schemas/PatchPublicationOutputBody.json",
  "draft": {
    "format": "html"
  },
  "publication": {
    "alt": "publication"
  }
}

Changes

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