Skip to content

Commit

Permalink
Add avm rpcs
Browse files Browse the repository at this point in the history
* getLoggerLevel
* loadVMs
* setLoggerLevel
  • Loading branch information
cgcardona committed Mar 9, 2022
1 parent cff1c2d commit b5537c5
Showing 1 changed file with 90 additions and 0 deletions.
90 changes: 90 additions & 0 deletions Avalanche.postman_collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,66 @@
},
"response": []
},
{
"name": "getLoggerLevel",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"jsonrpc\":\"2.0\",\n \"id\" :1,\n \"method\" :\"admin.getLoggerLevel\",\n \"params\" :{\n \"loggerName\":\"C\" \n }\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{protocol}}://{{host}}:{{port}}/ext/admin",
"protocol": "{{protocol}}",
"host": [
"{{host}}"
],
"port": "{{port}}",
"path": [
"ext",
"admin"
]
},
"description": "Returns log and display levels of loggers. [More info](https://docs.avax.network/build/avalanchego-apis/admin#admingetloggerlevel)"
},
"response": []
},
{
"name": "loadVMs",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"jsonrpc\":\"2.0\",\n \"id\" :1,\n \"method\" :\"admin.loadVMs\",\n \"params\" :{}\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{protocol}}://{{host}}:{{port}}/ext/admin",
"protocol": "{{protocol}}",
"host": [
"{{host}}"
],
"port": "{{port}}",
"path": [
"ext",
"admin"
]
},
"description": "Dynamically loads any virtual machines installed on the node as plugins. [More info](https://docs.avax.network/build/avalanchego-apis/admin#adminloadvms)"
},
"response": []
},
{
"name": "lockProfile",
"request": {
Expand Down Expand Up @@ -158,6 +218,36 @@
},
"response": []
},
{
"name": "setLoggerLevel",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"jsonrpc\":\"2.0\",\n \"id\" :1,\n \"method\" :\"admin.setLoggerLevel\",\n \"params\" :{\n \"loggerName\": \"C\",\n \"logLevel\": \"DEBUG\",\n \"displayLevel\": \"INFO\" \n }\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{protocol}}://{{host}}:{{port}}/ext/admin",
"protocol": "{{protocol}}",
"host": [
"{{host}}"
],
"port": "{{port}}",
"path": [
"ext",
"admin"
]
},
"description": "Sets log and display levels of loggers. [More info](https://docs.avax.network/build/avalanchego-apis/admin#adminsetloggerlevel)"
},
"response": []
},
{
"name": "startCPUProfiler",
"request": {
Expand Down

0 comments on commit b5537c5

Please sign in to comment.