RelayerAPI Reference
Calls a plugin method.
AuthorizationBearer <token>
In: header
Path Parameters
plugin_idstring
The unique identifier of the plugin
paramsunknown
Plugin parameters
Response Body
curl -X POST "https://loading/api/v1/plugins/string/call" \ -H "Content-Type: application/json" \ -d '{ "params": null }'
{
"data": {
"error": "string",
"logs": [
{
"level": "log",
"message": "string"
}
],
"message": "string",
"return_value": "string",
"success": true,
"traces": [
null
]
},
"error": "string",
"pagination": {
"current_page": 0,
"per_page": 0,
"total_items": 0
},
"success": true
}
{
"data": null,
"message": "Bad Request",
"success": false
}
{
"data": null,
"message": "Unauthorized",
"success": false
}
{
"data": null,
"message": "Plugin with ID plugin_id not found",
"success": false
}
{
"data": null,
"message": "Too Many Requests",
"success": false
}
{
"data": null,
"message": "Internal Server Error",
"success": false
}