CATA Restful API
Test host: http://api.cata.show/
create minerva table
GET
/ini_db
Insert metadata into minerva
POST
/insert_metadata
Request Body
Name
Type
Description
object
{
"db":"ipfs://QmNr3U2TAPnP2wA4n2fP161Lqzp5JusW1Mo8iT9WaqFTj8"
"metadata":[{"title":"abc1","nft_id":1}]
}
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