Previous posts:
Here's an initial API design. To keep things simple with this version:
base64
encoded input documents.user_id
to new users. This ID will be required for the convert/
and /jobs
endpointsEndpoint | Method | Description |
---|---|---|
user/new/ |
PUT | Returns a unique random ID. No authentication for now. |
upload/ |
PUT | Upload an input document. Returns document ID. |
convert/ |
PUT | Convert input document to text and/or XML. Returns Job ID. |
jobs/ |
GET | Returns status of previous jobs |
`jobs/[JOB_ID]/[txt | xml]` | GET |