Work.download.private

From Safe Creative API
Revision as of 12:19, 5 May 2010 by w>Jguillo (Created page with 'Returns the download URL for a user's work. The returned URL is only valid for a limited time. = Info = * '''Component name:''' work.download.private * '''Signature:''' Requires…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Returns the download URL for a user's work. The returned URL is only valid for a limited time.

Info

  • Component name: work.download.private
  • Signature: Requires signature using the authkey's private key
  • Timestamp: ZTime is not required
  • Authorization level: GET

Parameters

  • authkey*: Authorization key of the work owner
  • code*: Work code

* Required parameter

Returns

  • url: Download URL

Sample

REQUEST:

https://api.safecreative.org/v2/
?component=work.download.private
&authkey=Bb7NTK14QGeHjluE3vziqQ
&code=1003030120266
&signature=06797af03767a19fef5acae915ff2b11bdad5535

RESPONSE:

<?xml version="1.0" encoding="UTF-8"?>
<url>[...]</url>