Authkey.create: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
w>Jguillo No edit summary  | 
				w>Jguillo No edit summary  | 
				||
| Line 13: | Line 13: | ||
= Sample =  | = Sample =  | ||
REQUEST:  | REQUEST:  | ||
https://api.safecreative.org/v2/  |  <nowiki>https://api.safecreative.org/v2/</nowiki>  | ||
?component=authkey.create  |  ?'''component'''=authkey.create  | ||
&sharedkey=zy9x4ol0ctg3btyswq7b5wi9  |  &'''sharedkey'''=zy9x4ol0ctg3btyswq7b5wi9  | ||
&ztime=1271749822099  |  &'''ztime'''=1271749822099  | ||
&signature=4ed86580ab439b56251ed712e2554586b125f0ef  |  &'''signature'''=4ed86580ab439b56251ed712e2554586b125f0ef  | ||
RESPONSE:  | RESPONSE:  | ||
<?xml version="1.0" encoding="UTF-8"?>  |  <?xml version="1.0" encoding="UTF-8"?>  | ||
<authkeycreate>  |  <authkeycreate>  | ||
   <authkey>23j22wtpoguzgzk0fag39sey6</authkey>  | |||
   <privatekey>1f5lcps1hvpo7y1sw175y5qkp</privatekey>  | |||
</authkeycreate  |  </authkeycreate>  | ||
Revision as of 10:54, 4 May 2010
Creates a new authkey
Info
- Component name: authkey.create
 - Signature: Requires signature using the sharedkey's private key
 - Timestamp: Requires ztime parameter
 
Parameters
- sharedkey*: Your application shared key
 - ztime*: Z-Timestamp
 
* Required parameter
Sample
REQUEST:
https://api.safecreative.org/v2/ ?component=authkey.create &sharedkey=zy9x4ol0ctg3btyswq7b5wi9 &ztime=1271749822099 &signature=4ed86580ab439b56251ed712e2554586b125f0ef
RESPONSE:
<?xml version="1.0" encoding="UTF-8"?> <authkeycreate> <authkey>23j22wtpoguzgzk0fag39sey6</authkey> <privatekey>1f5lcps1hvpo7y1sw175y5qkp</privatekey> </authkeycreate>