Generic Resource
PEPPERI NOTIFICATION SERVICE
Actions Queue
CPI Node
TODO training

Restore Code Job

Only UserCodeJob can be restored

post
Restore Code Job By Audit Log ID

https://api.pepperi.com/v1.0/code_jobs/{Code Job UUID}/restore/{Audit Log UUID}
Request
Response
Request
Path Parameters
Code Job UUID
optional
string
AuditLog UUID
required
string
Audit log of publish action (to be restored)
Body Parameters
Comment
required
string
The comment that should describe the changes in this current restore
Response
200: OK
No content - if created return 200 Ok - if not return error

Error Codes :

Scenario

Error Code

Fault String

HTTP Status Code

Cannot find Code Job

InvalidParameterCJ004

{ jobUUID } does not exist.

404

Cannot find Audit Log

InvalidParameterCJ009

{ AuditLog} does not exist.

404

Audit log is not publish action log

InvalidParameterCJ010

Action = {AuditLogAction} is not valid

400

Restore addon job

InvalidParameterCJ012

Can restore only user codejob

400