Pular para o conteúdo principal
POST
Add a new article

Autorizações

api_access_token
string
header
obrigatório

Token de acesso do usuário (Perfil → Token de acesso). Dá acesso conforme o papel do usuário e age em nome dele.

Parâmetros de caminho

account_id
string
obrigatório

The numeric ID of the account

id
string
obrigatório

The slug identifier of the portal

Corpo

application/json
title
string

The title of the article

Exemplo:

"Article Title"

slug
string

The slug of the article

Exemplo:

"article-title"

position
integer

article position in category

Exemplo:

1

content
string

The text content.

Exemplo:

"This is the content of the article"

description
string

The description of the article

Exemplo:

"This is the description of the article"

category_id
integer

The category id of the article

Exemplo:

1

author_id
integer

The author agent id of the article

Exemplo:

1

associated_article_id
integer

To associate similar articles to each other, e.g to provide the link for the reference.

Exemplo:

2

status
integer

The status of the article. 0 for draft, 1 for published, 2 for archived

Exemplo:

1

locale
string

The locale of the article

Exemplo:

"en"

meta
object

Use for search

Exemplo:

Resposta

Success

id
integer
content
string

The text content.

meta
object
position
integer
status
enum<integer>
Opções disponíveis:
draft,
published,
archived
title
string
slug
string
views
integer
portal_id
integer
account_id
integer
author_id
integer
category_id
integer
folder_id
integer
associated_article_id
integer

To associate similar articles to each other, e.g to provide the link for the reference.