curl --request POST \
--url https://api.storyapis.com/api/v4/assets/edges \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '{
"orderBy": "blockNumber",
"orderDirection": "desc",
"pagination": {
"limit": 20,
"offset": 0
},
"where": {
"blockNumber": 1,
"childIpId": "<string>",
"parentIpId": "<string>",
"txHash": "<string>"
}
}'
{
"$schema": "https://api.storyapis.com/api/v4/EdgesResponseHumaBody.json",
"data": [
{
"blockNumber": 123,
"blockTimestamp": "2023-11-07T05:31:56Z",
"caller": "<string>",
"childIpId": "<string>",
"id": 123,
"licenseTemplate": "<string>",
"licenseTermsId": "<string>",
"licenseTokenId": "<string>",
"logIndex": 123,
"parentIpId": "<string>",
"processedAt": "2023-11-07T05:31:56Z",
"txHash": "<string>"
}
],
"pagination": {
"hasMore": true,
"limit": 123,
"offset": 123,
"total": 123
}
}
Retrieve a list of edges (derivative registered events) that represent relationships between IP assets. These edges show parent-child relationships formed through licensing.
curl --request POST \
--url https://api.storyapis.com/api/v4/assets/edges \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--data '{
"orderBy": "blockNumber",
"orderDirection": "desc",
"pagination": {
"limit": 20,
"offset": 0
},
"where": {
"blockNumber": 1,
"childIpId": "<string>",
"parentIpId": "<string>",
"txHash": "<string>"
}
}'
{
"$schema": "https://api.storyapis.com/api/v4/EdgesResponseHumaBody.json",
"data": [
{
"blockNumber": 123,
"blockTimestamp": "2023-11-07T05:31:56Z",
"caller": "<string>",
"childIpId": "<string>",
"id": 123,
"licenseTemplate": "<string>",
"licenseTermsId": "<string>",
"licenseTokenId": "<string>",
"logIndex": 123,
"parentIpId": "<string>",
"processedAt": "2023-11-07T05:31:56Z",
"txHash": "<string>"
}
],
"pagination": {
"hasMore": true,
"limit": 123,
"offset": 123,
"total": 123
}
}
OK
The response is of type object
.