Skip to main content
GET
/
posts
cURL
curl --request GET \
  --url https://api.vinkit.co/v1/posts \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "title": "<string>",
    "status": "published",
    "slug": "<string>",
    "content": "<string>",
    "excerpt": "<string>",
    "tags": [
      "<string>"
    ],
    "cover_image": "<string>",
    "published_at": "2023-11-07T05:31:56Z",
    "created_at": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

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

Query Parameters

limit
integer<int32>

Nombre maximum de résultats à retourner

status
enum<string>

Filtrer par statut (published, draft, scheduled, archived)

Available options:
published,
draft,
scheduled,
archived
tag
string

Filtrer par tag

Response

Liste des articles

id
string
required

Identifiant unique de l'article

title
string
required

Titre de l'article

status
enum<string>
required

Statut de l'article

Available options:
published,
draft,
scheduled,
archived
slug
string

Slug URL de l'article

content
string

Contenu de l'article en Markdown

excerpt
string

Extrait court de l'article

tags
string[]

Liste des tags associés

cover_image
string

URL de l'image de couverture

published_at
string<date-time>

Date de publication (ISO 8601)

created_at
string<date-time>

Date de création (ISO 8601)