You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed legacy purge worker. Changed conversion worker to run only once (i.e. not retry errors) and to always send the callback if defined. Changed callback to POST variables, rather than sending JSON
Copy file name to clipboardExpand all lines: README.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -271,3 +271,17 @@ Response:
271
271
Content-Type: application/pdf; charset=binary
272
272
273
273
... PDF document body ...
274
+
275
+
## Callbacks
276
+
277
+
When a document conversion is completed, an attempt will be made to POST a callback to the URL specified when the conversion was attempted. The callback will be a normal form post, sending these values:
278
+
279
+
status - the result of the conversion, 200 for success, 400+ for failure
280
+
description - the outcome of the conversion, e.g. "Document converted"
281
+
app - the application name
282
+
doc_id - the ID of the document
283
+
version - the version of the document that was converted
284
+
action - the conversion action performed
285
+
path - a path to the converted file (you will have to tack the Colore URL base onto this)
0 commit comments