Add url/param signing capapbilities to support access to attachments
This commit is contained in:
+15
-1
@@ -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 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
]
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user