Pixelglyph Storyteller
Pixelglyph Storyteller · Actions GPT
Untitled
Your OpenAPI specification
GET /v2/{network}/{address}/nft/{tokenID}/mediaRetrieve NFT MediaEndpoint to retrieve media associated with a specific NFT.
GET /v2/ethereum-mainnet/0xf38d6bf300d52ba7880b43cddb3f94ee3c6c4ea6/nft/{tokenID}/metadataRetrieve NFT MetadataEndpoint to retrieve metadata for a specific NFT.
Schéma original API
{
"openapi": "3.1.0",
"info": {
"title": "Untitled",
"description": "Your OpenAPI specification",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://api.center.dev"
}
],
"paths": {
"/v2/{network}/{address}/nft/{tokenID}/media": {
"get": {
"operationId": "getNftMedia",
"summary": "Retrieve NFT Media",
"description": "Endpoint to retrieve media associated with a specific NFT.",
"parameters": [
{
"name": "network",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"description": "The network on which the NFT exists."
},
{
"name": "address",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"description": "The address of the NFT."
},
{
"name": "tokenID",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"description": "The token ID of the NFT."
}
],
"responses": {
"200": {
"description": "Successful response with NFT media.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"mediaUrl": {
"type": "string",
"description": "URL of the NFT media."
}
}
}
}
}
},
"400": {
"description": "Bad request, invalid input parameters."
},
"404": {
"description": "NFT not found."
}
}
}
},
"/v2/ethereum-mainnet/0xf38d6bf300d52ba7880b43cddb3f94ee3c6c4ea6/nft/{tokenID}/metadata": {
"get": {
"operationId": "getNftMetadata",
"summary": "Retrieve NFT Metadata",
"description": "Endpoint to retrieve metadata for a specific NFT.",
"parameters": [
{
"name": "tokenID",
"in": "path",
"required": true,
"schema": {
"type": "string"
},
"description": "The token ID of the NFT."
}
],
"responses": {
"200": {
"description": "Successful response with NFT metadata.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"network": {
"type": "string"
},
"address": {
"type": "string"
},
"tokenID": {
"type": "string"
},
"owner": {
"type": "string"
},
"metadata": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"image": {
"type": "string"
},
"colors": {
"type": "array",
"items": {
"type": "string"
}
},
"matrix": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "integer"
}
}
}
}
},
"media": {
"type": "object",
"properties": {
"small": {
"type": "object",
"properties": {
"renderURL": {
"type": "string"
}
}
},
"medium": {
"type": "object",
"properties": {
"renderURL": {
"type": "string"
}
}
}
}
}
}
}
}
}
},
"400": {
"description": "Bad request, invalid input parameters."
},
"404": {
"description": "NFT not found."
}
}
}
}
},
"components": {
"schemas": {}
}
}