Create Article

POST

Article is an object which can contain a URL or artifacts in the resource. It also contains the data regarding the owner, author, status and published date of the object. This call creates an article.

Request

This endpoint expects an object.
access_levelenumRequired
Allowed values: externalinternalprivatepublicrestricted
applies_to_partslist of stringsRequired

The parts that the article applies to.

article_typeenumRequired
Allowed values: articlecontent_block

Type of the article.

custom_schema_specobjectRequired

Requested custom schemas described abstractly. Every provided schema’s custom field must be specified, otherwise a bad request error is returned. If a new custom schema specifier is provided, then it will be added to the work, otherwise if a custom schema is omitted from the specifier, it remains unmodified.

owned_bylist of stringsRequired

The users that own the article.

resourceobjectRequired
statusenumRequired
Allowed values: archiveddraftpublishedreview_needed

Status of the article.

titlestringRequired

Name of the article.

aliaseslist of stringsOptional

The aliases of the article.

authored_bylist of stringsOptional

The authors of the article.

custom_fieldsobjectOptional

Application-defined custom fields.

descriptionstringOptional

Description for the article.

extracted_contentlist of stringsOptional

ID of the extracted content artifact.

languagestringOptional

Language of the article.

parentstringOptional

The parent directory of the article.

published_atstringOptionalformat: "date-time"

The published date of the article.

scopelongOptional

The scope of the article.

shared_withlist of objectsOptional

Information about the role the member receives due to the share.

tagslist of objectsOptional

Tags associated with the article.

Response

Create article response.

articleobject
Built with