Add url/param signing capapbilities to support access to attachments

This commit is contained in:
Denis Arh
2019-04-25 18:24:41 +02:00
parent 5d61b3d8cd
commit 2132d1fdca
14 changed files with 160 additions and 43 deletions
+15 -1
View File
@@ -597,6 +597,20 @@
"required": true,
"title": "Attachment ID"
}
],
"get": [
{
"type": "string",
"name": "sign",
"required": true,
"title": "Signature"
},
{
"type": "uint64",
"name": "userID",
"required": true,
"title": "User ID"
}
]
},
"entrypoint": "attachment",
@@ -704,4 +718,4 @@
}
]
}
]
]
+14
View File
@@ -3,6 +3,20 @@
"Interface": "Attachment",
"Struct": null,
"Parameters": {
"get": [
{
"name": "sign",
"required": true,
"title": "Signature",
"type": "string"
},
{
"name": "userID",
"required": true,
"title": "User ID",
"type": "uint64"
}
],
"path": [
{
"name": "attachmentID",