This shows you the differences between two versions of the page.
en:sidebar:remoteapi:apiref:core:create_auth_hash [02/05/2013 08:49] zuve |
en:sidebar:remoteapi:apiref:core:create_auth_hash [29/11/2013 13:31] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{indexmenu_n>20}} | ||
- | ====== Create authorization hash ====== | ||
- | Instead of [[duplicate|core/duplicate]] request you can use combination of this one and [[use_auth_hash|core/use_auth_hash]]. To create a new authorization hash, use the command **core/create_resource**: | ||
- | |||
- | <code javascript> | ||
- | svc=core/create_auth_hash¶ms={} | ||
- | </code> | ||
- | |||
- | :!: Generated hash is valid from creation moment to first usage during 2 minutes! | ||
- | |||
- | ===== Response ===== | ||
- | <code javascript> | ||
- | { | ||
- | "authHash":<text> /* authorization hash value */ | ||
- | } | ||
- | </code> |
|