Topics

Update a topic

Changes the name, description or visibility (and the exx double opt-in settings); never the default subscription.

PATCH
/topics/{id}

Changes the name, description or visibility (and the exx double opt-in settings); never the default subscription.

Authorization

bearer
headerAuthorizationBearer <token>

Path Parameters

id*string
Formatuuid

Request Body

application/json
  1. body

Fields left out stay as they are.

default_subscription?|

Refused unless it is the topic's: the default never changes.

description?|

null clears it.

doi_from?|

An exx extension; null clears it (refused while doi_required).

doi_required?|

An exx extension.

name?string|null
visibility?|

public or private.

Response Body

Success

application/json
  1. response

The answer to a create or an update.

id*string
Formatuuid
object*string
Example Request
curl -X PATCH 'https://api.exx.sh/topics/497f6eca-6276-4993-bfeb-53cbbbba6f08' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "object": "string"}