Skip to content

Commit

Permalink
CR fixes: extra -> settings
Browse files Browse the repository at this point in the history
  • Loading branch information
algorandskiy committed Jun 7, 2024
1 parent 51eff69 commit 00c9e5d
Show file tree
Hide file tree
Showing 11 changed files with 1,351 additions and 1,353 deletions.
82 changes: 41 additions & 41 deletions daemon/algod/api/algod.oas2.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,44 @@
}
}
},
"/debug/settings/pprof": {
"get": {
"description": "Retrieves the current settings for blocking and mutex profiles",
"tags": [
"private"
],
"produces": [
"application/json"
],
"schemes": [
"http"
],
"operationId": "GetDebugSettingsProf",
"responses": {
"200": {
"$ref": "#/responses/DebugSettingsProfResponse"
}
}
},
"put": {
"description": "Enables blocking and mutex profiles, and returns the old settings",
"tags": [
"private"
],
"produces": [
"application/json"
],
"schemes": [
"http"
],
"operationId": "PutDebugSettingsProf",
"responses": {
"200": {
"$ref": "#/responses/DebugSettingsProfResponse"
}
}
}
},
"/v2/accounts/{address}": {
"get": {
"description": "Given a specific account public key, this call returns the accounts status, balance and spendable amounts",
Expand Down Expand Up @@ -1305,44 +1343,6 @@
}
]
},
"/debug/extra/pprof": {
"get": {
"description": "Retrieves the current settings for blocking and mutex profiles",
"tags": [
"private"
],
"produces": [
"application/json"
],
"schemes": [
"http"
],
"operationId": "GetDebugExtraProf",
"responses": {
"200": {
"$ref": "#/responses/DebugExtraProfResponse"
}
}
},
"put": {
"description": "Enables blocking and mutex profiles, and returns the old settings",
"tags": [
"private"
],
"produces": [
"application/json"
],
"schemes": [
"http"
],
"operationId": "PutDebugExtraProf",
"responses": {
"200": {
"$ref": "#/responses/DebugExtraProfResponse"
}
}
}
},
"/v2/shutdown": {
"post": {
"description": "Special management endpoint to shutdown the node. Optionally provide a timeout parameter to indicate that the node should begin shutting down after a number of seconds.",
Expand Down Expand Up @@ -4091,7 +4091,7 @@
}
}
},
"DebugExtraProf": {
"DebugSettingsProf": {
"description": "algod mutex and blocking profiling state.",
"type": "object",
"title": "algod mutex and blocking profiling state.",
Expand Down Expand Up @@ -5559,10 +5559,10 @@
"$ref": "#/definitions/Version"
}
},
"DebugExtraProfResponse": {
"DebugSettingsProfResponse": {
"description": "DebugPprof is the response to the /debug/extra/pprof endpoint",
"schema": {
"$ref": "#/definitions/DebugExtraProf"
"$ref": "#/definitions/DebugSettingsProf"
}
}
},
Expand Down
16 changes: 8 additions & 8 deletions daemon/algod/api/algod.oas3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -520,11 +520,11 @@
},
"description": "Teal compile Result"
},
"DebugExtraProfResponse": {
"DebugSettingsProfResponse": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/DebugExtraProf"
"$ref": "#/components/schemas/DebugSettingsProf"
}
}
},
Expand Down Expand Up @@ -1800,7 +1800,7 @@
"title": "BuildVersion contains the current algod build version information.",
"type": "object"
},
"DebugExtraProf": {
"DebugSettingsProf": {
"description": "algod mutex and blocking profiling state.",
"properties": {
"block-rate": {
Expand Down Expand Up @@ -2775,16 +2775,16 @@
},
"openapi": "3.0.1",
"paths": {
"/debug/extra/pprof": {
"/debug/settings/pprof": {
"get": {
"description": "Retrieves the current settings for blocking and mutex profiles",
"operationId": "GetDebugExtraProf",
"operationId": "GetDebugSettingsProf",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/DebugExtraProf"
"$ref": "#/components/schemas/DebugSettingsProf"
}
}
},
Expand All @@ -2797,13 +2797,13 @@
},
"put": {
"description": "Enables blocking and mutex profiles, and returns the old settings",
"operationId": "PutDebugExtraProf",
"operationId": "PutDebugSettingsProf",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/DebugExtraProf"
"$ref": "#/components/schemas/DebugSettingsProf"
}
}
},
Expand Down
Loading

0 comments on commit 00c9e5d

Please sign in to comment.