Work.uploadticket.status

From Safe Creative API
Jump to navigation Jump to search

Returns the state of uploadTicket.

Info

  • Component name: work.uploadticket.status
  • Signature: Requires signature using the authkey's private key
  • Timestamp: Requires ztime parameter
  • Authorization level: ADD
  • API trust level: Standard

Parameters

  • authkey*: Authorization key
  • ztime*: Z-Timestamp
  • uploadticket*: Upload ticket to check status

* Required parameter

Returns

  • restvalueresponse
    • state: Status of uploadTicket
      • If state is ready, the upload has finished
      • If state is processing, the upload is in progress

Example

REQUEST:

https://api.safecreative.org/v2/
?component=work.uploadticket.status
&authkey=6f66h1vo4mjfnzxu4qhdk4shf
&uploadticket=CZ33TfxQ3OJvaPDc8qD2Ht6X2ZLzcZT0BF1mnDvmEt0N2P18VLxSQqIcUUwde_ojCSyA4Sk90fFeSI7ItKItB9DClIdu88at
&ztime=1409892204072
&signature=369c1c8aa498f02b0e7aa03974164b212b00e961

RESPONSE:

<restvalueresponse>
  <state>ready</state>
</restvalueresponse>