Skip to main content
PUT
/
v1
/
articles
/
{uid}
Update an Article
curl --request PUT \
  --url https://api.siit.io/v1/articles/{uid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "subtitle": "<string>",
  "external_url": "<string>",
  "body": "<string>",
  "category_uid": "<string>"
}
'
{
  "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

Please note that:
  1. only the ones with source siit or external can use that endpoint as the other sources are managed directly by the integrations
  2. only articles created via api (ie. source external can edit their body via the api)

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

Body

application/json
title
string
subtitle
string | null
external_url
string | null

URL that the article redirects to

body
string

Text content of the article

category_uid
string

Response

200 - application/json

Successful

result
object