Content Insert Service enables Alegra CMS for inserting all types of Contents into database.

Endpoint:
POST /api/v2/insert_content

Parameters:
content_type: (string) Friendly Name of the Content Type.
(Example: Articles. Content Videos, Photo Galleries)

data: (array): Data parameter includes the columns to be changed. As an example, if title column is sent in data for a record. Than just the title column is updated.

Note: The available parameters of the data column is determined by the content_type.

Response:
– success: true / false
– message: success if successful, error message if not successful
– item_id: Globally unique id of the new record.

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment