Skip to content

Commit 8ee8fad

Browse files
[BOT] [CREATE-SWAGGER] [SKIP-GH-PAGES] create swagger for "multichain-aggregator" of version main
1 parent 1fe9488 commit 8ee8fad

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

services/multichain-aggregator/main/swagger.yaml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,11 @@ paths:
259259
in: query
260260
required: false
261261
type: string
262+
- name: include_poor_reputation_tokens
263+
description: If true, include tokens with poor reputation in the results. By default they are excluded.
264+
in: query
265+
required: false
266+
type: boolean
262267
- name: page_size
263268
in: query
264269
required: false
@@ -1034,6 +1039,26 @@ paths:
10341039
$ref: '#/definitions/v1BatchImportRequest'
10351040
tags:
10361041
- MultichainAggregatorService
1042+
/api/v1/import:poor-reputation-tokens:
1043+
post:
1044+
operationId: MultichainAggregatorService_ImportPoorReputationTokens
1045+
responses:
1046+
"200":
1047+
description: A successful response.
1048+
schema:
1049+
$ref: '#/definitions/v1ImportPoorReputationTokensResponse'
1050+
default:
1051+
description: An unexpected error response.
1052+
schema:
1053+
$ref: '#/definitions/googlerpcStatus'
1054+
parameters:
1055+
- name: body
1056+
in: body
1057+
required: true
1058+
schema:
1059+
$ref: '#/definitions/v1ImportPoorReputationTokensRequest'
1060+
tags:
1061+
- MultichainAggregatorService
10371062
/api/v1/nfts:
10381063
get:
10391064
operationId: MultichainAggregatorService_ListNfts
@@ -1308,6 +1333,13 @@ definitions:
13081333
- SERVICE_UNKNOWN
13091334
default: UNKNOWN
13101335
description: ' - SERVICE_UNKNOWN: Used only by the Watch method.'
1336+
ImportPoorReputationTokensRequestPoorReputationToken:
1337+
type: object
1338+
properties:
1339+
address_hash:
1340+
type: string
1341+
chain_id:
1342+
type: string
13111343
InteropMessageImportInit:
13121344
type: object
13131345
properties:
@@ -1792,6 +1824,21 @@ definitions:
17921824
properties:
17931825
status:
17941826
$ref: '#/definitions/HealthCheckResponseServingStatus'
1827+
v1ImportPoorReputationTokensRequest:
1828+
type: object
1829+
properties:
1830+
tokens:
1831+
type: array
1832+
items:
1833+
type: object
1834+
$ref: '#/definitions/ImportPoorReputationTokensRequestPoorReputationToken'
1835+
api_key:
1836+
type: string
1837+
v1ImportPoorReputationTokensResponse:
1838+
type: object
1839+
properties:
1840+
status:
1841+
type: string
17951842
v1InteropMessage:
17961843
type: object
17971844
properties:

0 commit comments

Comments
 (0)