Stamp: Difference between revisions

From Safe Creative API
Jump to navigation Jump to search
w>Jguillo
w>Jguillo
Line 25: Line 25:
REQUEST:
REQUEST:
<pre>
<pre>
https://arena-web.safestamper.com/api/stamp
https://web.safestamper.com/api/stamp
?sharedkey=5hmpod0d2vx7fnh6ysxab3olz
?sharedkey=5hmpod0d2vx7fnh6ysxab3olz
&url1=www.safestamper.com
&url1=www.safestamper.com

Revision as of 10:36, 19 April 2016

Launches a certification job

URL

https://web.safestamper.com/api/stamp

Parameters

  • sharedkey: Your API client shared key
  • urlN: The URLs you want to certificate. Multiple URLs can be specified as url1, url2, etc.
  • callback: Callback URL to call when the job is finished (optional)
  • signature: Parameters signature, as explained in Safe Stamper Web API parameters signature

Returns

A job identifier that can be used to check the status of the operation with status.

It returns the identifier between double quotes, in order to be a valid JSON.

HTTP Errors

  • 403 Forbidden, the sharedkey or signature are not valid
  • 429 Your Safe Stamper user has no certification credits available
  • 430 Your Safe Stamper user has no storage space available

Example

REQUEST:

https://web.safestamper.com/api/stamp
?sharedkey=5hmpod0d2vx7fnh6ysxab3olz
&url1=www.safestamper.com
&url2=www.safecreative.org
&signature=0960c30a088e0246422fa95268a1098c658ae5cb

RESPONSE:

"f39f2d5c-4bc6-4a15-90b5-00ebf69d0268"