collection.downloadHTML

Starts generating the download package and returns the progress status. When the status is complete it also returns the resource url.

Note: Requests must be made to https://api.flipsnack.com/v1.

Request parameters

Response parameters

Error codes

For complete list of error codes and messages go to API status codes section.

Examples

Request

# GET   
curl -X GET \
     -G \
     https://api.flipsnack.com/v1/ \
     -d action=collection.downloadHTML \
     -d apiKey=<YOUR-API-KEY> \
     -d collectionHash=d3m0h45h \
     -d signature=<YOUR-REQUEST-SIGNATURE>

Response

{
    "code": 20,
    "status": "OK",
    "data": {
        "status": "COMPLETE",
        "resourceUrl": "https://cdn.flipsnack.com/sample-path/to-html.zip",
    }
}

Last updated