Protocol API Overview
Collections
IPLicenseTerms
LicenseTemplates
LicenseTerms
LicenseTokens
Permissions
IPAssets
List IP Edges
Retrieve a paginated, filtered list of IP Edges
POST
/
api
/
v3
/
assets
/
edges
curl --request POST \
--url https://api.storyapis.com/api/v3/assets/edges \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <x-api-key>' \
--header 'X-Chain: <x-chain>' \
--data '{
"options": {
"orderBy": "id",
"orderDirection": "asc",
"pagination": {
"after": "<string>",
"before": "<string>",
"limit": 123
},
"where": {
"blockNumber": "<string>",
"ipId": "<string>",
"licenseTermsId": "<string>",
"licenseTokenId": "<string>",
"parentIpId": "<string>",
"transactionHash": "<string>"
}
}
}'
[
{
"data": [
{
"blockNumber": "<string>",
"blockTime": "<string>",
"ipId": "<string>",
"licenseTemplate": "<string>",
"licenseTermsId": "<string>",
"licenseTokenId": "<string>",
"parentIpId": "<string>",
"transactionHash": "<string>",
"transactionIndex": "<string>"
}
],
"next": "<string>",
"prev": "<string>"
}
]
Important! You must include an options object in your request body (though it can be left empty), otherwise your API call will not work!
When testing on this API Playground, you can do this by just inputting dummy fields to an options
property and deleting it.
Headers
API Key
Chain Destination
Body
application/json
Available options:
id
, blockNumber
, ipId
, resourceType
Available options:
asc
, desc
curl --request POST \
--url https://api.storyapis.com/api/v3/assets/edges \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <x-api-key>' \
--header 'X-Chain: <x-chain>' \
--data '{
"options": {
"orderBy": "id",
"orderDirection": "asc",
"pagination": {
"after": "<string>",
"before": "<string>",
"limit": 123
},
"where": {
"blockNumber": "<string>",
"ipId": "<string>",
"licenseTermsId": "<string>",
"licenseTokenId": "<string>",
"parentIpId": "<string>",
"transactionHash": "<string>"
}
}
}'
[
{
"data": [
{
"blockNumber": "<string>",
"blockTime": "<string>",
"ipId": "<string>",
"licenseTemplate": "<string>",
"licenseTermsId": "<string>",
"licenseTokenId": "<string>",
"parentIpId": "<string>",
"transactionHash": "<string>",
"transactionIndex": "<string>"
}
],
"next": "<string>",
"prev": "<string>"
}
]