Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions evm/openapi/collectibles.json
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,38 @@
"is_spam"
]
},
"Warning": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"description": "Warning code identifier",
"example": "UNSUPPORTED_CHAIN_IDS"
},
"message": {
"type": "string",
"description": "Human-readable warning message",
"example": "Some chain_ids are not supported."
},
"chain_ids": {
"type": "array",
"items": {
"type": "integer",
"format": "int64"
},
"description": "List of chain IDs that triggered this warning (for chain-related warnings)"
},
"docs_url": {
"type": "string",
"description": "URL to documentation with more information about the warning",
"example": "https://docs.sim.dune.com/evm/supported-chains"
}
}
},
"CollectiblesResponse": {
"type": "object",
"properties": {
Expand All @@ -197,6 +229,13 @@
},
"description": "A list of collectible entries."
},
"warnings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Warning"
},
"description": "Array of warnings that occurred during request processing. Warnings indicate non-fatal issues (e.g., unsupported chain IDs) where the request can still be partially fulfilled."
},
"next_offset": {
"type": "string",
"description": "Use this value as the `offset` in your next request to continue pagination. Not included when there are no more entries."
Expand Down
39 changes: 39 additions & 0 deletions evm/openapi/defi-positions.json
Original file line number Diff line number Diff line change
Expand Up @@ -1103,6 +1103,38 @@
}
}
},
"Warning": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"description": "Warning code identifier",
"example": "UNSUPPORTED_CHAIN_IDS"
},
"message": {
"type": "string",
"description": "Human-readable warning message",
"example": "Some chain_ids are not supported."
},
"chain_ids": {
"type": "array",
"items": {
"type": "integer",
"format": "int64"
},
"description": "List of chain IDs that triggered this warning (for chain-related warnings)"
},
"docs_url": {
"type": "string",
"description": "URL to documentation with more information about the warning",
"example": "https://docs.sim.dune.com/evm/supported-chains"
}
}
},
"DefiPositionsResponse": {
"type": "object",
"required": ["positions"],
Expand All @@ -1119,6 +1151,13 @@
"$ref": "#/components/schemas/DefiAggregations"
}
]
},
"warnings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Warning"
},
"description": "Array of warnings that occurred during request processing. Warnings indicate non-fatal issues (e.g., unsupported chain IDs) where the request can still be partially fulfilled."
}
}
}
Expand Down
39 changes: 39 additions & 0 deletions evm/openapi/token-info.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,38 @@
}
}
},
"Warning": {
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"description": "Warning code identifier",
"example": "UNSUPPORTED_CHAIN_IDS"
},
"message": {
"type": "string",
"description": "Human-readable warning message",
"example": "Some chain_ids are not supported."
},
"chain_ids": {
"type": "array",
"items": {
"type": "integer",
"format": "int64"
},
"description": "List of chain IDs that triggered this warning (for chain-related warnings)"
},
"docs_url": {
"type": "string",
"description": "URL to documentation with more information about the warning",
"example": "https://docs.sim.dune.com/evm/supported-chains"
}
}
},
"TokensResponse": {
"type": "object",
"required": [
Expand All @@ -218,6 +250,13 @@
},
"description": "Array of token information across different chains"
},
"warnings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Warning"
},
"description": "Array of warnings that occurred during request processing. Warnings indicate non-fatal issues (e.g., unsupported chain IDs) where the request can still be partially fulfilled."
},
"next_offset": {
"type": "string",
"description": "Pagination cursor for the next page of results"
Expand Down