Add Job to Wordpress
POST {{site}}/wp-json/wp/v2/posts
date | The date the object was published, in the site's timezone. |
date_gmt | The date the object was published, as GMT. |
slug | An alphanumeric identifier for the object unique to its type. |
status | A named status for the object. One of: publish, future, draft, pending, private |
password | A password to protect access to the content and excerpt. |
title | The title for the object. |
content | The content for the object. |
author | The ID for the author of the object. |
excerpt | The excerpt for the object. |
featured_media | The ID of the featured media for the object. |
comment_status | Whether or not comments are open on the object. One of: open, closed |
ping_status | Whether or not the object can be pinged. One of: open, closed |
format | The format for the object. One of: standard, aside, chat, gallery, link, image, quote, status, video, audio |
meta | Meta fields. |
sticky | Whether or not the object should be treated as sticky. |
template | The theme file to use to display the object. |
categories | The terms assigned to the object in the category taxonomy. |
tags | The terms assigned to the object in the post_tag taxonomy. |
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
content | string | ||
title | string | ||
excerpt | string |
Request Body
[{"name"=>"title", "value"=>"{{title}}", "datatype"=>"string"}, {"name"=>"content", "value"=>"{{content}}", "datatype"=>"string"}, {"name"=>"excerpt", "value"=>"{{excerpt}}", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |