v5

latestOpenAPI 3.0.3raw.githubusercontent.com2026-06-06153345.0 KB
Job Types

Create PDF generation job

Convenience endpoint for creating PDF generation jobs. Automatically sets job_type to 'generate_pdf'. This is equivalent to POST /jobs with job_type='generate_pdf' in the payload.

post/jobs/generate_pdf

Request body

project_idinteger required

Project ID for which to generate the PDF

priorityinteger

Job priority

max_attemptsinteger

Maximum retry attempts

Example request

{
  "project_id": 123,
  "options": {}
}

Response

Job created successfully

statusstring
messagestring
uuidstring

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"
    }
  }
}