curl -X POST "https://api-integration.ollang.com/integration/revision/60b8d6f1e1b9b1d8c6c0d8e1" \ -H "X-Api-Key: <your-api-key>" \ -H "Content-Type: application/json" \ -d '{ "type": "wrongSubtitle", "time": "02:15:30", "description": "The subtitle at this timestamp is incorrectly translated. Should be '\''Hello world'\'' instead of '\''Hello universe'\''." }'
Copy
{ "id": "rev_60b8d6f1e1b9b1d8c6c0d8e1", "createdAt": "2024-01-17T10:30:00Z", "type": "wrongSubtitle", "time": "02:15:30", "description": "The subtitle at this timestamp is incorrectly translated. Should be 'Hello world' instead of 'Hello universe'."}
Ollang API Reference
Create a Revision For an Order
Create a revision request for an existing order to report issues or request changes
POST
https://api-integration.ollang.com
/
integration
/
revision
/
{orderId}
Copy
curl -X POST "https://api-integration.ollang.com/integration/revision/60b8d6f1e1b9b1d8c6c0d8e1" \ -H "X-Api-Key: <your-api-key>" \ -H "Content-Type: application/json" \ -d '{ "type": "wrongSubtitle", "time": "02:15:30", "description": "The subtitle at this timestamp is incorrectly translated. Should be '\''Hello world'\'' instead of '\''Hello universe'\''." }'
Copy
{ "id": "rev_60b8d6f1e1b9b1d8c6c0d8e1", "createdAt": "2024-01-17T10:30:00Z", "type": "wrongSubtitle", "time": "02:15:30", "description": "The subtitle at this timestamp is incorrectly translated. Should be 'Hello world' instead of 'Hello universe'."}
Create a revision request for an existing order to report issues or request changes to the delivered content. This endpoint allows you to specify the type of issue and provide detailed feedback for correction.
Copy
curl -X POST "https://api-integration.ollang.com/integration/revision/60b8d6f1e1b9b1d8c6c0d8e1" \ -H "X-Api-Key: <your-api-key>" \ -H "Content-Type: application/json" \ -d '{ "type": "wrongSubtitle", "time": "02:15:30", "description": "The subtitle at this timestamp is incorrectly translated. Should be '\''Hello world'\'' instead of '\''Hello universe'\''." }'
The type of revision needed. Available options: - missingSubtitle - Subtitle
is missing at a specific time - wrongSubtitle - Subtitle content is
incorrect - syncError - Subtitle timing is not synchronized with audio -
formatError - Subtitle formatting issues - other - Other types of issues
not covered above
The description provided for the revision request.
Copy
{ "id": "rev_60b8d6f1e1b9b1d8c6c0d8e1", "createdAt": "2024-01-17T10:30:00Z", "type": "wrongSubtitle", "time": "02:15:30", "description": "The subtitle at this timestamp is incorrectly translated. Should be 'Hello world' instead of 'Hello universe'."}