Wallet

Retrieve all wallet resources

get
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"
    }
  }
]

Create a new wallet resource

post
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

Retrieve a specific wallet resource by ID

get
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

Update a specific wallet resource

put
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

Delete a specific wallet resource

delete
Path parameters
resourceIDstringRequired

ID of the wallet resource

Responses
204

Wallet resource deleted.

No content

delete
DELETE /wallet/{resourceID} HTTP/1.1
Host: api.wallet.example.com
Accept: */*
204

Wallet resource deleted.

No content