APIMethods/1.2.1/media.getUploadToken

TracNav

media.getUploadToken

Retrieves an upload token and ip-address to initiate the upload of media.

params

  • uploadtypes ---
    • Optional

extra

<a href='http://www.hyves-developers.nl/documentation/data-api/media-upload-platform'>Click here</a> for more information about Media uploading.

examples

example 1

url

http://data.hyves-api.nl/?oauth_token=YXRfMTc3OTgyMDcwX3-nXMPpzsVP6qFtqGWjt_M%3D&ha_method=media.getUploadToken&oauth_consumer_key=Nl-SK2c5ZCBKB_I8hCF_zjPd&oauth_timestamp=1282117700&oauth_nonce=353974_560&ha_version=1.2.1&oauth_signature_method=HMAC-SHA1&ha_format=xml&ha_fancylayout=false&oauth_signature=5TUqS77Ytx1A%2F3Dca2g8Av3Kx0A%3D

result

<?xml version="1.0" encoding="UTF-8"?>
<media_getUploadToken_result>
        <token>8pQhVOCON22T2eqQsX5ZtGIxpiYCe2ReYzgwZGM2MmZjNGJjY2M2NAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGAAAAAQDQAAEARJBrTBAOV5k1Vw==</token>
        <ip>94.100.123.2</ip>
        <info>
                <timestamp_difference>0</timestamp_difference>
                <running_milliseconds>76</running_milliseconds>
                <secure_connection>false</secure_connection>
        </info>
</media_getUploadToken_result>

returnvalues

<a href='http://hyves-developers.nl/returnvalues#info'>info</a>, ip, <a href='http://hyves-developers.nl/returnvalues#running_milliseconds'>running_milliseconds</a>, <a href='http://hyves-developers.nl/returnvalues#secure_connection'>secure_connection</a>, <a href='http://hyves-developers.nl/returnvalues#timestamp_difference'>timestamp_difference</a>, token