Rendering
API for updates on renderings
This API can be used to update comments on renderings
PATCH
/api/renderings/{id}Authorizations
X-AUTH-TOKEN
stringheaderrequired
Value for the X-AUTH-TOKEN header parameter.
Path Parameters
id
stringrequired
Rendering identifier
Request Body
application/json
required
The updated Rendering resource
{
"id": 12345,
"externalId": "external-id",
"template": "my-invoice",
"format": "pdf",
"webhook": "my-webhook",
"comment": "My Comment",
"emailServer": "my-smtp"
}Response
200
Rendering resource updated
id
integer
Identifier generated by Output.Rocks.
externalId
string
External id
template
stringrequired
Template identifier.
format
enum<string>
Document format to render
webhook
string
Webhook (identifier) to execute after document rendering.
comment
string
Rendering Comment.
emailServer
string
Identifier of Email-Server configuration in Output.Rocks
metadata
object
Optional metadata to be used in webhooks
staticAttachments
object[]
Optional PDF attachments. For document-only requests they are appended in this order; for email requests they are attached to every email.
data
object
Data to be used in rendered email, attachments, charts and webhooks.