Fetching file results
When file is submitted for processing, it is queued to ensure a stable response even under high load. To obtain the results, send a GET request to the https://api.groupdocs.cloud/v2.0/rewriter/{task}/document/{request ID}
GroupDocs.Rewriter Cloud REST API endpoint, where task means what you want to do: detect, paraphrase, simpllify or summarize. This request does not require access token.
Processed files are returned in JSON format in the response body and are slightly different according to task.
{
"status": status code,
"message": string,
"probability": float,
"isParaphrased": boolean
}
Property | Description |
---|---|
status | HTTP response status code. |
message | Verbose status message. |
probability | Probability that provided file was paraphrased. |
isParaphrased | If provided file was paraphrased. |
{
"status": status code,
"message": string,
"url": string
}
Property | Description |
---|---|
status | HTTP response status code. |
message | Verbose status message. |
url | Link to paraphrased file. |
{
"status": status code,
"message": string,
"url": string
}
Property | Description |
---|---|
status | HTTP response status code. |
message | Verbose status message. |
url | Link to simplified file. |
{
"status": status code,
"message": string,
"url": string
}
Property | Description |
---|---|
status | HTTP response status code. |
message | Verbose status message. |
url | Link to summarized file. |
NoteFiles are stored in the GroupDocs cloud and can be obtained by the task ID within 24 hours after the file was sent for processing.
curl --location 'https://api.groupdocs.cloud/v2.0/rewriter/paraphrase/document/dae5390e-3658-4bff-85bf-4a77cc04eaa5' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...LxLejtsVFwrZpHA'
{
"status": 200,
"message": "Pdf document paraphrased",
"url": "https://rewriter-groupdocs-app.s3.us-west-2.amazonaws.com/0cd7b09d-4d63-4bcd-a9a5-dfd72897aa17.pdf...ff474526313a24821e98"
}