Pepperi API Design
Search…
Generic Resource
PEPPERI NOTIFICATION SERVICE
Actions Queue
CPI Node
TODO training
Powered By GitBook
Publish a Single Code Job
Publishing should also empty the DraftCode field
Every publish creates audit log entry of type=data and action=publish
Only UserCodeJob can be published
post
https://api.pepperi.com/v1.0
/code_jobs/{Code Job UUID}/publish
Publish Code Job

Error Codes :

Scenario
Error Code
Fault String
HTTP Status Code
Publish with no Draft Code
InvalidParameterCJ001
Invalid field value. Field: CodeDraft: Value cannot be null or empty.
400
Cannot find Code Job
InvalidParameterCJ004
{ jobUUID } does not exist.
404
Publish addon job
InvalidParameterCJ011
Can publish only user codejob
400
Last modified 1yr ago