Retrieve the current progress of your document

Parameters:

Name Optional / Required Data type Description Default
id required String One of your document progress ids

Demo

URL
Find your token on - yumpu.com
Token
progress id
Run request

Example:

curl -X GET -H "X-ACCESS-TOKEN: YOUR_ACCESS_TOKEN" "http://api.yumpu.com/2.0/document/progress.json?id=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"

Example:

require_once('../yumpu.php');
$yumpu = new Yumpu();
$progressId = 'XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX';
$documentProgess = $yumpu->getDocumentProgress($progressId);
print_r($documentProgess);

Example:

var yumpu = require('yumpu');
yumpu.setToken('yourToken');
var parameters = {
   id: 'XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX'
};
yumpu.getdocumentProgress(parameters, function(statusCode, document){
   console.log('Status: ' + statusCode);
   console.log(document);
});

Example:

Yumpu y = new Yumpu("your access token");
String[] params = {"id=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"};
System.out.println(y.getDocumentProgress(params));

Whatever language you are using, the result will be the same.

Example 1:

{
  "document": {
    "state": "rendering_in_progress",
    "message": "Magazine in rendering queue",
    "imagecount": "84",
    "progress": 0,
    "images": 0
  },
  "state": "success"
}

Example 2:

{
  "document": [
    {
      "id": 55932706,
      "url": "http://www.yumpu.com/de/document/view/55932706/new-title",
      "short_url": "http://www.yumpu.com/s/Ok8tEcVRDCsfAod0",
      "image": {
        "small": "http://img.yumpu.com/55932706/1/115x163/new-title.jpg",
        "medium": "http://img.yumpu.com/55932706/1/452x640/new-title.jpg",
        "big": "http://img.yumpu.com/55932706/1/1129x1600/new-title.jpg"
      },
      "language": "de",
      "title": "new title",
      "description": "",
      "pages": 3,
      "width": 452,
      "height": 640,
      "category_id": 2,
      "tags": [
        "suchparameter",
        "liefert",
        "google",
        "webseiten",
        "suchbegriff",
        "mehreren",
        "angezeigt",
        "beschreibung",
        "nutzwert",
        "treffer",
        "www.lukasbals.at"
      ],
      "embed_code": "<iframe width=\"512px\" height=\"384px\" src=\"https://www.yumpu.com/de/embed/view/CsdA9tSUlmyVvbNO\" frameborder=\"0\" allowfullscreen=\"true\" allowtransparency=\"true\"></iframe>"
    }
  ],
  "state": "success",
  "completed_in": 0.0715
}

results matching ""

    No results matching ""