GET
/v3-node-0/intent/{hash}Get an intent
Returns a specific intent by its hash
Base URL
https://api.storm.tgExamples
curl --request GET 'https://api.storm.tg/v3-node-0/intent/{hash}' \
--header 'Accept: application/json'const response = await fetch("https://api.storm.tg/v3-node-0/intent/{hash}", {
method: "GET",
headers: {
"Accept": "application/json"
},
});
console.log(response.status, await response.text());import requests
response = requests.request(
"GET",
"https://api.storm.tg/v3-node-0/intent/{hash}",
headers={"Accept":"application/json"},
timeout=30,
)
print(response.status_code, response.text)Responses
200OKapplication/json
No valid example could be generated.
any
400Bad Requestapplication/json
codestringoptionalExample:
stringerrorstringoptionalExample:
stringexternalQueryIdstringoptionalExample:
stringmsgstringoptionalExample:
string{
"code": "string",
"error": "string",
"externalQueryId": "string",
"msg": "string"
}404Not Foundapplication/json
codestringoptionalExample:
stringerrorstringoptionalExample:
stringexternalQueryIdstringoptionalExample:
stringmsgstringoptionalExample:
string{
"code": "string",
"error": "string",
"externalQueryId": "string",
"msg": "string"
}500Internal Server Errorapplication/json
codestringoptionalExample:
stringerrorstringoptionalExample:
stringexternalQueryIdstringoptionalExample:
stringmsgstringoptionalExample:
string{
"code": "string",
"error": "string",
"externalQueryId": "string",
"msg": "string"
}