Skip to content

Commit 659a91a

Browse files
[BOT] [CREATE-SWAGGER] [SKIP-GH-PAGES] create swagger for "multichain-aggregator" of version main
1 parent d7ec02b commit 659a91a

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

services/multichain-aggregator/main/swagger.yaml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,37 @@ paths:
190190
type: string
191191
tags:
192192
- ClusterExplorerService
193+
/api/v1/clusters/{cluster_id}/addresses/{address_hash}/portfolio:
194+
get:
195+
operationId: ClusterExplorerService_GetAddressPortfolio
196+
responses:
197+
"200":
198+
description: A successful response.
199+
schema:
200+
$ref: '#/definitions/v1GetAddressPortfolioResponse'
201+
default:
202+
description: An unexpected error response.
203+
schema:
204+
$ref: '#/definitions/googlerpcStatus'
205+
parameters:
206+
- name: cluster_id
207+
in: path
208+
required: true
209+
type: string
210+
- name: address_hash
211+
in: path
212+
required: true
213+
type: string
214+
- name: chain_id
215+
description: Comma-separated list of chain ids to filter by.
216+
in: query
217+
required: false
218+
type: array
219+
items:
220+
type: string
221+
collectionFormat: multi
222+
tags:
223+
- ClusterExplorerService
193224
/api/v1/clusters/{cluster_id}/addresses/{address_hash}/tokens:
194225
get:
195226
operationId: ClusterExplorerService_ListAddressTokens
@@ -1455,6 +1486,15 @@ definitions:
14551486
properties:
14561487
hash:
14571488
type: string
1489+
v1AddressPortfolio:
1490+
type: object
1491+
properties:
1492+
total_value:
1493+
type: string
1494+
chain_values:
1495+
type: object
1496+
additionalProperties:
1497+
type: string
14581498
v1AggregatedTokenInfo:
14591499
type: object
14601500
properties:
@@ -1669,6 +1709,11 @@ definitions:
16691709
names_count:
16701710
type: integer
16711711
format: int64
1712+
v1GetAddressPortfolioResponse:
1713+
type: object
1714+
properties:
1715+
portfolio:
1716+
$ref: '#/definitions/v1AddressPortfolio'
16721717
v1GetAddressResponse:
16731718
type: object
16741719
properties:

0 commit comments

Comments
 (0)