Create a description template
Jobs
POST create description template
Endpoint
POST /api/v1/jobs/templates
Parameters
Name | Description |
---|---|
template[title] required | Title |
template[description] required | Description |
Request
Route
POST /api/v1/jobs/templates
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNTQ5Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzQyNDY0OTQ0LCJleHAiOjE3NDUwNTY5NDQsImp0aSI6ImU2NGRhZTc4LWYzNzYtNGI0Ni05MzU5LWIzZjQzZWNmNzc4MiJ9.31cEqxKEJdkiLmTduTE1N8yf6kQFPuo_lUDuafDUMfs
Host: example.org
Cookie:
Body
{
"template": {
"title": "Product Planner",
"description": "Aeternus pauci ancilla. Cotidie bellum absum."
}
}
Response
Simulated Response
Status
200
Headers
x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"759f7fcd5dea4a5f9412cf15e5fd8107"
cache-control: max-age=0, private, must-revalidate
x-request-id: 1e89ddcb-a2f3-485d-b88d-1ee5c2e04cfb
x-runtime: 0.008681
content-length: 109
Body
{
"template": {
"id": 8,
"description": "Aeternus pauci ancilla. Cotidie bellum absum.",
"title": "Product Planner"
}
}