Signature/status and Signature/tag: Difference between pages
(Difference between pages)
m (1 revision imported) |
api>Admin No edit summary |
||
Line 1: | Line 1: | ||
This operation set tag to document | |||
= URL = | = URL = | ||
<nowiki>https://www.safestamper.com/api/signature/ | <nowiki>https://www.safestamper.com/api/signature/tag</nowiki> | ||
= Parameters = | = Parameters = | ||
* '''sharedkey''': Your API client shared key | * '''sharedkey''': Your API client shared key | ||
* '''authkey''': | * '''authkey''': Authkey of document owner | ||
* '''code''': | * '''code''': Code of document to modify | ||
* '''tag''': Tag to save in the document | |||
* '''signature''': Parameters signature, as explained in [[Signature parameter]] | * '''signature''': Parameters signature, as explained in [[Signature parameter]] | ||
= Returns = | = Returns = | ||
HTTP 200 OK | |||
= HTTP Errors = | = HTTP Errors = | ||
* ''' | * '''401''' Unauthorized: the authkey is not exist | ||
* ''' | * '''403''' Forbidden: the sharedkey or signature are not valid | ||
* '''404''' | * '''404''' Not found: the notification does not exist | ||
= Example = | = Example = | ||
Line 45: | Line 25: | ||
REQUEST: | REQUEST: | ||
<pre> | <pre> | ||
https://www.safestamper.com/api/signature/ | https://www.safestamper.com/api/signature/tag | ||
? | ?authkey=0021d81c-e4a5-4869-8384-2fd70cdb58ec | ||
&code=b508e6e9-e5f6-4bb5-beef-c89bf6b50764 | &code=b508e6e9-e5f6-4bb5-beef-c89bf6b50764 | ||
&signature= | &tag=Test | ||
&sharedkey=axvmfqn8aex21mxhq5zsj7l482saxfu7j4hh | |||
&signature=b1b22b34967fdf2eb67c3569a1e8b90f9fb63e77 | |||
</pre> | </pre> | ||
RESPONSE: | RESPONSE: | ||
HTTP 200 OK | |||
Revision as of 13:52, 4 October 2022
This operation set tag to document
URL
https://www.safestamper.com/api/signature/tag
Parameters
- sharedkey: Your API client shared key
- authkey: Authkey of document owner
- code: Code of document to modify
- tag: Tag to save in the document
- signature: Parameters signature, as explained in Signature parameter
Returns
HTTP 200 OK
HTTP Errors
- 401 Unauthorized: the authkey is not exist
- 403 Forbidden: the sharedkey or signature are not valid
- 404 Not found: the notification does not exist
Example
REQUEST:
https://www.safestamper.com/api/signature/tag ?authkey=0021d81c-e4a5-4869-8384-2fd70cdb58ec &code=b508e6e9-e5f6-4bb5-beef-c89bf6b50764 &tag=Test &sharedkey=axvmfqn8aex21mxhq5zsj7l482saxfu7j4hh &signature=b1b22b34967fdf2eb67c3569a1e8b90f9fb63e77
RESPONSE:
HTTP 200 OK