GET/POST http://yourserver.com/services/checkout/<assetId> ?download=<true> |
What does it do?
Checks out an asset from the system locking the file for other users.
Parameters
assetId |
The Elvis id of the asset to be checked out. Required |
download |
When set to true, the asset will be checked out and downloaded from the system. If download is false it will only be checked out. Optional. Default is false. |
Examples
Checkout
The following checks out an asset in Elvis
checkout http://demo.elvisdam.com/services/checkout/FpERTjYia2X81GoYQi7btF |
This will return the checkout metadata in the response:
{
"checkedOut" : 1393923342735,
"checkedOutBy" : "admin"
"checkedOutOnClient" : "webclient"
}
Checkout with download
The following checks out an asset and downloads or shows it in the browser.
checkout http://demo.elvisdam.com/services/checkout/FpERTjYia2X81GoYQi7btF?download=true |
Comment
Do you have corrections or additional information about this article? Leave a comment! Do you have a question about what is described in this article? Please contact Support.
0 comments
Please sign in to leave a comment.