Create Article
POST/api/content/articles
Create a new article.
You can find more information about articles here.
Locale
The locale in the request body specifies which translation should be created.
The locale query parameter specifies which translation should be returned.
If no locale is specified, the applications default locale will be used. You can learn more about configuring the default locale here.
Tokens
- A valid
AccessTokenfrom a member of theCONTRIBUTORgroup.
Request
Responses
- 200
- 400
- 401
- 403
- 500
The newly created article.
The following error codes correspond to this status:
INVALID_REQUEST: Invalid request.
The following error codes correspond to this status:
ACCESS_TOKEN_EXPIRED: Indicates that the access token is expired.ACCESS_TOKEN_INVALID: Indicates that the access token cannot be decoded.AUTHENTICATION_REQUIRED: User is not authenticated.
The following error codes correspond to this status:
GROUP_MEMBERSHIP_REQUIRED: User is not a member of required group.
The following error codes correspond to this status:
ACCESS_TOKEN_ALLOWLIST_READING_FAILURE: Represents an exception indicating a failure when reading the allowlist for an access token cache.DATABASE_FAILURE: Exception representing a general failure related to database operations.INVALID_DOCUMENT: Invalid document.RESPONSE_MAPPING_FAILURE: Response mapping failure.