GET
/
v1
/
articles
curl --request GET \
  --url https://api.siit.io/v1/articles \
  --header 'Authorization: Bearer <token>'
{
  "meta": {
    "count": 123,
    "total": 123,
    "current_page": 123,
    "per_page": 20,
    "next_page_link": "<string>",
    "previous_page_link": "<string>"
  },
  "results": [
    {
      "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

Notes:

  1. archived Articles are NOT returned by default.

Usage

Authorizations

Authorization
string
header
required

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

Query Parameters

page
integer

The current page

per_page
integer

Number of results retrieved per page.

author_uid_in[]
string[]

Filter by Author.

category_uid_in[]
string[]

Filter by Categories.

published_eq
boolean

Whether the response should only include draft or published Articles

include_archived
boolean
default:false

Whether the response should include archived Articles.

created_after
string

Filter Articles created after a DateTime (ISO 8601).

created_before
string

Filter Articles created before a DateTime (ISO 8601).

updated_after
string

Filter Articles updated after a DateTime (ISO 8601).

updated_before
string

Filter Articles updated before a DateTime (ISO 8601).

Response

200
application/json

Successful

The response is of type object.