| 200 |
OK is returned to indicate that the document was processed successfully.
The response contains a list of page segments. Each page segment is an array of two digits, from which the first one indicate the start page of the segment and the second one the end page of the segment.
Suppose we have a document with 5 pages which needs to be splitted. We can split the document into two segments: the first segment contains the first 3 pages and the second segment contains the last 2 pages. The response will be a list of two arrays, where the first array contains the values [1, 3] and the second array contains the values [4, 5].
An example result can look like this:
[
[
1,
3
],
[
4,
5
]
]
|