PATCH
/
v1
/
articles
/
{uid}
/
publish
curl --request PATCH \
  --url https://api.siit.io/v1/articles/{uid}/publish \
  --header 'Authorization: Bearer <token>'
{
  "result": {
    "uid": "<string>",
    "title": "<string>",
    "subtitle": "<string>",
    "source": "external",
    "author_uid": "<string>",
    "last_editor_uid": "<string>",
    "published": true,
    "external_url": "<string>",
    "body": "<string>",
    "category_uid": "<string>",
    "category": {
      "uid": "<string>",
      "name": "<string>"
    },
    "archived_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "created_at": "2023-11-07T05:31:56Z"
  }
}

Introduction

Published articles are the only ones that can be recommended by the Siit Bot. Please note that there is a few minutes delay between Publish and availability through the Bot.

Trying to publish an already published Article will lead to a 204 response (“No Content”).

Usage

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

uid
string
required

The UID of the Article

Response

200 - application/json

Successful

The response is of type object.