Skip to content

JSON API ‐ PIN

byte0x0 edited this page Jul 8, 2024 · 13 revisions
Endpoint Method PtahParameter QueryParameter Description
/api/getAllPinByPath GET page,limit,path Retrieve all PIN lists based on the path, with pagination support.
/api/pin/{pinId} GET pinId Retrieve PIN details based on PIN ID.
/api/address/pin/list/
{addressType}/{address}
GET addressType
owner,creator), address
cursor,
size,
cnt(true,false),
path
Retrieve the PIN list based on the address.
/api/address/pin/
root/{address}
GET address Retrieve the PIN root based on the address.
/api/node/child/{pinId} GET pinId Retrieve all child node PIN lists based on PinId.
/api/node/parent/{pinId} GET pinId Retrieve the parent node PIN based on PinId.
/api/pin/list GET page,size Retrieve all PIN lists with pagination.
/api/pin/ByOutput/{output} GET output Retrieve PIN details based on the output.
/api/getAllPinByPathAndMetaId POST { "page":1,
"size":10,
"path":"/info/name",
"metaIdList":["..."] }
Query PIN based on the path and metaIdList.
Clone this wiki locally