CATA Restful API
Test host: http://api.cata.show/
create minerva table
GET /ini_db
{
"status": 0,
"msg": "success",
"cid": "Qmb6SYjWeWgmZN7ERNDgjKrCBCG9JJrNdTriqKiZ7a4JWv"
}Insert metadata into minerva
POST /insert_metadata
Request Body
Name
Type
Description
object
{
"db":"ipfs://QmNr3U2TAPnP2wA4n2fP161Lqzp5JusW1Mo8iT9WaqFTj8"
"metadata":[{"title":"abc1","nft_id":1}]
}
{
"status": 0,
"msg": "success",
"cid": "QmYUQee1mTUGjEMtk2ZBn8LdE1YVWueF3q5ec7WMgXsGfc"
} upload file
POST /upload_file/
Path Parameters
Name
Type
Description
object
{
\
"file":"base64_str"
\
}
get metadata by nft id
GET /get_metadata?
Path Parameters
Name
Type
Description
db_link
string
Query Parameters
Name
Type
Description
nft_id
string
search nft metadata
GET /search_metadata?
Query Parameters
Name
Type
Description
word
string
search word
db_link
string
minerva db link
field
string
search field
Last updated
Was this helpful?