Skip to content

Commit

Permalink
[AUTOMATED] Update: proto/docs/metadata.gen.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
marino39 committed Jan 24, 2025
1 parent dc92c3a commit 81602e2
Showing 1 changed file with 53 additions and 49 deletions.
102 changes: 53 additions & 49 deletions docs/pages/api/metadata/rpc.gen.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# sequence-metadata v0.4.0 32bbbabcb36d6ad51ffa0fff54b23b2bcda29f08
# sequence-metadata v0.4.0 44263e09bb6f2ffe8597ad6f629f286040f3099f
# --
# Code generated by webrpc-gen@v0.21.1 with openapi generator; DO NOT EDIT
#
Expand Down Expand Up @@ -1205,18 +1205,6 @@ components:
type: string
hash:
type: string
Metadata_GetTokenMetadata_Request:
type: object
properties:
chainID:
type: string
contractAddress:
type: string
tokenIDs:
type: array
description: '[]string'
items:
type: string
Metadata_RefreshTokenMetadata_Request:
type: object
properties:
Expand Down Expand Up @@ -1271,6 +1259,18 @@ components:
type: string
contractAddress:
type: string
Metadata_GetTokenMetadata_Request:
type: object
properties:
chainID:
type: string
contractAddress:
type: string
tokenIDs:
type: array
description: '[]string'
items:
type: string
Metadata_GetTokenMetadataBatch_Request:
type: object
properties:
Expand Down Expand Up @@ -1403,14 +1403,6 @@ components:
type: boolean
page:
$ref: '#/components/schemas/Page'
Metadata_GetTokenMetadata_Response:
type: object
properties:
tokenMetadata:
type: array
description: '[]TokenMetadata'
items:
$ref: '#/components/schemas/TokenMetadata'
Metadata_RefreshTokenMetadata_Response:
type: object
properties:
Expand All @@ -1435,6 +1427,16 @@ components:
$ref: '#/components/schemas/Task'
retryAfter:
type: number
Metadata_GetTokenMetadata_Response:
type: object
properties:
tokenMetadata:
type: array
description: '[]TokenMetadata'
items:
$ref: '#/components/schemas/TokenMetadata'
task:
$ref: '#/components/schemas/Task'
Metadata_GetTokenMetadataBatch_Response:
type: object
properties:
Expand All @@ -1446,6 +1448,8 @@ components:
description: '[]TokenMetadata'
items:
$ref: '#/components/schemas/TokenMetadata'
task:
$ref: '#/components/schemas/Task'
Metadata_SearchTokenMetadata_Response:
type: object
properties:
Expand Down Expand Up @@ -1868,22 +1872,23 @@ components:
status:
type: boolean
paths:
/rpc/Metadata/GetTokenMetadata:
/rpc/Metadata/RefreshTokenMetadata:
post:
summary: GetTokenMetadata
description: "GetTokenMetadata - fetch token metadata for a particular contract and respective tokenIDs"
summary: RefreshTokenMetadata
deprecated: true
description: "Deprecated -> Use RefreshContractInfo, RefreshContractTokens or RefreshAllContractTokens"
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Metadata_GetTokenMetadata_Request'
$ref: '#/components/schemas/Metadata_RefreshTokenMetadata_Request'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Metadata_GetTokenMetadata_Response'
$ref: '#/components/schemas/Metadata_RefreshTokenMetadata_Response'
'4XX':
description: Client error
content:
Expand Down Expand Up @@ -1923,23 +1928,23 @@ paths:
- $ref: '#/components/schemas/ErrorWebrpcServerPanic'
- $ref: '#/components/schemas/ErrorWebrpcInternalError'
- $ref: '#/components/schemas/ErrorFail'
/rpc/Metadata/RefreshTokenMetadata:
/rpc/Metadata/EnqueueTokensForRefresh:
post:
summary: RefreshTokenMetadata
summary: EnqueueTokensForRefresh
deprecated: true
description: "Deprecated -> Use RefreshContractInfo, RefreshContractTokens or RefreshAllContractTokens"
description: "Deprecated -> RefreshContractTokens or RefreshAllContractTokens"
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Metadata_RefreshTokenMetadata_Request'
$ref: '#/components/schemas/Metadata_EnqueueTokensForRefresh_Request'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Metadata_RefreshTokenMetadata_Response'
$ref: '#/components/schemas/Metadata_EnqueueTokensForRefresh_Response'
'4XX':
description: Client error
content:
Expand Down Expand Up @@ -1979,23 +1984,21 @@ paths:
- $ref: '#/components/schemas/ErrorWebrpcServerPanic'
- $ref: '#/components/schemas/ErrorWebrpcInternalError'
- $ref: '#/components/schemas/ErrorFail'
/rpc/Metadata/EnqueueTokensForRefresh:
/rpc/Metadata/RefreshContractInfo:
post:
summary: EnqueueTokensForRefresh
deprecated: true
description: "Deprecated -> RefreshContractTokens or RefreshAllContractTokens"
summary: RefreshContractInfo
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Metadata_EnqueueTokensForRefresh_Request'
$ref: '#/components/schemas/Metadata_RefreshContractInfo_Request'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Metadata_EnqueueTokensForRefresh_Response'
$ref: '#/components/schemas/Metadata_RefreshContractInfo_Response'
'4XX':
description: Client error
content:
Expand Down Expand Up @@ -2035,21 +2038,21 @@ paths:
- $ref: '#/components/schemas/ErrorWebrpcServerPanic'
- $ref: '#/components/schemas/ErrorWebrpcInternalError'
- $ref: '#/components/schemas/ErrorFail'
/rpc/Metadata/RefreshContractInfo:
/rpc/Metadata/RefreshContractTokens:
post:
summary: RefreshContractInfo
summary: RefreshContractTokens
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Metadata_RefreshContractInfo_Request'
$ref: '#/components/schemas/Metadata_RefreshContractTokens_Request'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Metadata_RefreshContractInfo_Response'
$ref: '#/components/schemas/Metadata_RefreshContractTokens_Response'
'4XX':
description: Client error
content:
Expand Down Expand Up @@ -2089,21 +2092,21 @@ paths:
- $ref: '#/components/schemas/ErrorWebrpcServerPanic'
- $ref: '#/components/schemas/ErrorWebrpcInternalError'
- $ref: '#/components/schemas/ErrorFail'
/rpc/Metadata/RefreshContractTokens:
/rpc/Metadata/RefreshAllContractTokens:
post:
summary: RefreshContractTokens
summary: RefreshAllContractTokens
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Metadata_RefreshContractTokens_Request'
$ref: '#/components/schemas/Metadata_RefreshAllContractTokens_Request'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Metadata_RefreshContractTokens_Response'
$ref: '#/components/schemas/Metadata_RefreshAllContractTokens_Response'
'4XX':
description: Client error
content:
Expand Down Expand Up @@ -2143,21 +2146,22 @@ paths:
- $ref: '#/components/schemas/ErrorWebrpcServerPanic'
- $ref: '#/components/schemas/ErrorWebrpcInternalError'
- $ref: '#/components/schemas/ErrorFail'
/rpc/Metadata/RefreshAllContractTokens:
/rpc/Metadata/GetTokenMetadata:
post:
summary: RefreshAllContractTokens
summary: GetTokenMetadata
description: "GetTokenMetadata - fetch token metadata for a particular contract and respective tokenIDs"
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Metadata_RefreshAllContractTokens_Request'
$ref: '#/components/schemas/Metadata_GetTokenMetadata_Request'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Metadata_RefreshAllContractTokens_Response'
$ref: '#/components/schemas/Metadata_GetTokenMetadata_Response'
'4XX':
description: Client error
content:
Expand Down

0 comments on commit 81602e2

Please sign in to comment.