Create a new job
Changed onEnqueue a new background job for processing
Request
- Base URLhttps://localhost/index.php/api
- AuthAPI key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"payload": {
"project_id": 123,
"options": {}
}
}Response
Job created successfully
Example response
{
"status": "success",
"message": "Job created successfully",
"job": {
"payload": {
"project_id": 123,
"options": {}
},
"result": {
"pdf_path": "/path/to/project_123.pdf",
"project_id": 123,
"generated_at": "2025-01-11 16:30:45"
}
}
}Changes
- breaking
request property
was restricted to a list of enum values - breaking
the
request property type changed fromobjectto no type - breaking
added to the
/response propertyoneOflist for the response status - breaking
added to the
/response propertyoneOflist for the response status - breaking
the
/response's property type changed fromobjectto no type for status - breaking
the
/response's property type changed fromobjectto no type for status - warning
added the new
generate_microdata_resourceenum value to the/response property for the response status - warning
added the new
generate_pdfenum value to the/response property for the response status - warning
added the new
hello_worldenum value to the/response property for the response status - warning
added the new
import_indicator_dataenum value to the/response property for the response status - warning
added the new
import_microdataenum value to the/response property for the response status - warning
added the new
publish_projectenum value to the/response property for the response status - info
added the new
generate_microdata_resourceenum value to the request property - info
added the new
generate_pdfenum value to the request property - info
added the new
hello_worldenum value to the request property - info
added the new
import_indicator_dataenum value to the request property - info
added the new
import_microdataenum value to the request property - info
added the new
publish_projectenum value to the request property - info
added to the
request propertyoneOflist
- breaking
- warning
added the new
heldenum value to the/response property for the response status
- warning