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

Custom schemas described using identifiers. Each custom field in the request must have the corresponding schema specified; omission results in a Bad Request error. If a custom schema is not included in the specifier, it remains unchanged. For surfaces with human interactors, it is recommended to provide tenant_fragment: true and validate_required_fields: true.

owned_bylist of stringsRequired

The users that own the article.

resourceobjectRequired
statusenumRequired
Allowed values: archiveddraftpublishedreview_needed

Status of the article.

titlestringRequiredformat: "text"

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.

descriptionstringOptionalformat: "text"

Description for the article.

extracted_contentlist of stringsOptional

ID of the extracted content artifact.

languagestringOptionalformat: "text"

Language of the article.

parentstringOptionalformat: "id"

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