Create Article
Create a new article
POST {{URL}}/api/v1/articles
This endpoint allows you to create a new article.
Headers
Name
Type
Description
Authentication
string
Authentication token to know user creating token.
Request Body
Name
Type
Description
title
string
Enter the title of the article
content
string
Enter the content of the article
image
object
Consists of the imageUrl and publicId
category
string
Enter the category of the article
author
string
Enter the author id
mode
string
Enter the mode of the article which is either *landscape* or *portrait*
interests
array
InterestArray consisting of all interests related to the article.
Last updated
Was this helpful?