Wallet
Responses
200
A list of all wallet resources.
application/json
get
GET /wallet HTTP/1.1
Host: api.wallet.example.com
Accept: */*
200
A list of all wallet resources.
[
{
"id": "text",
"resourceUri": "text",
"name": "text",
"size": "text",
"metaData": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
]
Body
filestring · binaryOptional
Binary file to be uploaded.
metadataobjectOptional
Metadata associated with the file.
Responses
201
Wallet resource created.
No content
post
POST /wallet HTTP/1.1
Host: api.wallet.example.com
Content-Type: multipart/form-data
Accept: */*
Content-Length: 31
{
"file": "binary",
"metadata": {}
}
201
Wallet resource created.
No content
Path parameters
resourceIDstringRequired
ID of the wallet resource
Responses
200
Specific wallet resource details.
application/octet-stream
Responsestring · binary
get
GET /wallet/{resourceID} HTTP/1.1
Host: api.wallet.example.com
Accept: */*
200
Specific wallet resource details.
binary
Path parameters
resourceIDstringRequired
ID of the wallet resource
Body
string · binaryOptional
Responses
200
Wallet resource updated.
No content
put
PUT /wallet/{resourceID} HTTP/1.1
Host: api.wallet.example.com
Content-Type: application/octet-stream
Accept: */*
Content-Length: 8
"binary"
200
Wallet resource updated.
No content