EDB Postgres Enterprise Manager REST APIs v6.0: Probe history v10.2
get__probe_history_agent_{agent_id}_from_{start_time}_to_{end_time}_{probe_id}
Code samples
# You can also use wget curl -X GET https://PEM-SERVER-IP/api/v6/probe/history/agent/{agent_id}/from/{start_time}/to/{end_time}/{probe_id} \ -H 'Accept: application/json' \ -H 'X-Auth-Token: string'
import requests headers = { 'Accept': 'application/json', 'X-Auth-Token': 'string' } r = requests.get('https://PEM-SERVER-IP/api/v6/probe/history/agent/{agent_id}/from/{start_time}/to/{end_time}/{probe_id}', headers = headers) print(r.json())
const headers = { 'Accept':'application/json', 'X-Auth-Token':'string' }; fetch('https://PEM-SERVER-IP/api/v6/probe/history/agent/{agent_id}/from/{start_time}/to/{end_time}/{probe_id}', { method: 'GET', headers: headers }) .then(function(res) { return res.json(); }).then(function(body) { console.log(body); });
GET /probe/history/agent/{agent_id}/from/{start_time}/to/{end_time}/{probe_id}
Gets Probe history for agent.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| agent_id | path | integer | true | Agent ID |
| start_time | path | string | true | Start time in ISO-8601 format to get probe history |
| end_time | path | string | true | End time in ISO-8601 format to get probe history |
| probe_id | path | integer | true | Probe ID for which data will be returned |
| X-Auth-Token | header | string | true | Token of authorization |
Example responses
200 Response
[ {} ]
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Successful response | Inline |
Response Schema
Info
This operation does not require authentication
get__probe_history_server_{server_id}_from_{start_time}_to_{end_time}_{probe_id}
Code samples
# You can also use wget curl -X GET https://PEM-SERVER-IP/api/v6/probe/history/server/{server_id}/from/{start_time}/to/{end_time}/{probe_id} \ -H 'Accept: application/json' \ -H 'X-Auth-Token: string'
import requests headers = { 'Accept': 'application/json', 'X-Auth-Token': 'string' } r = requests.get('https://PEM-SERVER-IP/api/v6/probe/history/server/{server_id}/from/{start_time}/to/{end_time}/{probe_id}', headers = headers) print(r.json())
const headers = { 'Accept':'application/json', 'X-Auth-Token':'string' }; fetch('https://PEM-SERVER-IP/api/v6/probe/history/server/{server_id}/from/{start_time}/to/{end_time}/{probe_id}', { method: 'GET', headers: headers }) .then(function(res) { return res.json(); }).then(function(body) { console.log(body); });
GET /probe/history/server/{server_id}/from/{start_time}/to/{end_time}/{probe_id}
Gets Probe history for server.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| server_id | path | integer | true | Server ID |
| start_time | path | string | true | Start time in ISO-8601 format to get probe history |
| end_time | path | string | true | End time in ISO-8601 format to get probe history |
| probe_id | path | integer | true | Probe ID for which data will be returned |
| X-Auth-Token | header | string | true | Token of authorization |
Example responses
200 Response
[ {} ]
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Successful response | Inline |
Response Schema
Info
This operation does not require authentication
get__probe_history_server_{server_id}_database_{database_name}_from_{start_time}_to_{end_time}_{probe_id}
Code samples
# You can also use wget curl -X GET https://PEM-SERVER-IP/api/v6/probe/history/server/{server_id}/database/{database_name}/from/{start_time}/to/{end_time}/{probe_id} \ -H 'Accept: application/json' \ -H 'X-Auth-Token: string'
import requests headers = { 'Accept': 'application/json', 'X-Auth-Token': 'string' } r = requests.get('https://PEM-SERVER-IP/api/v6/probe/history/server/{server_id}/database/{database_name}/from/{start_time}/to/{end_time}/{probe_id}', headers = headers) print(r.json())
const headers = { 'Accept':'application/json', 'X-Auth-Token':'string' }; fetch('https://PEM-SERVER-IP/api/v6/probe/history/server/{server_id}/database/{database_name}/from/{start_time}/to/{end_time}/{probe_id}', { method: 'GET', headers: headers }) .then(function(res) { return res.json(); }).then(function(body) { console.log(body); });
GET /probe/history/server/{server_id}/database/{database_name}/from/{start_time}/to/{end_time}/{probe_id}
Gets Probe history for database.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| server_id | path | integer | true | Server ID |
| database_name | path | string | true | Database Name |
| start_time | path | string | true | Start time in ISO-8601 format to get probe history |
| end_time | path | string | true | End time in ISO-8601 format to get probe history |
| probe_id | path | integer | true | Probe ID for which data will be returned |
| X-Auth-Token | header | string | true | Token of authorization |
Example responses
200 Response
[ {} ]
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Successful response | Inline |
Response Schema
Info
This operation does not require authentication
get__probe_history_server_{server_id}_database_{database_name}_schema_{schema_name}_from_{start_time}_to_{end_time}_{probe_id}
Code samples
# You can also use wget curl -X GET https://PEM-SERVER-IP/api/v6/probe/history/server/{server_id}/database/{database_name}/schema/{schema_name}/from/{start_time}/to/{end_time}/{probe_id} \ -H 'Accept: application/json' \ -H 'X-Auth-Token: string'
import requests headers = { 'Accept': 'application/json', 'X-Auth-Token': 'string' } r = requests.get('https://PEM-SERVER-IP/api/v6/probe/history/server/{server_id}/database/{database_name}/schema/{schema_name}/from/{start_time}/to/{end_time}/{probe_id}', headers = headers) print(r.json())
const headers = { 'Accept':'application/json', 'X-Auth-Token':'string' }; fetch('https://PEM-SERVER-IP/api/v6/probe/history/server/{server_id}/database/{database_name}/schema/{schema_name}/from/{start_time}/to/{end_time}/{probe_id}', { method: 'GET', headers: headers }) .then(function(res) { return res.json(); }).then(function(body) { console.log(body); });
GET /probe/history/server/{server_id}/database/{database_name}/schema/{schema_name}/from/{start_time}/to/{end_time}/{probe_id}
Gets Probe history for schema.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| server_id | path | integer | true | Server ID |
| database_name | path | string | true | Database Name |
| schema_name | path | string | true | Schema Name |
| start_time | path | string | true | Start time in ISO-8601 format to get probe history |
| end_time | path | string | true | End time in ISO-8601 format to get probe history |
| probe_id | path | integer | true | Probe ID for which data will be returned |
| X-Auth-Token | header | string | true | Token of authorization |
Example responses
200 Response
[ {} ]
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Successful response | Inline |
Response Schema
Info
This operation does not require authentication
get__probe_history_server_{server_id}_database_{database_name}_schema_{schema_name}_table_{table_name}_from_{start_time}_to_{end_time}_{probe_id}
Code samples
# You can also use wget curl -X GET https://PEM-SERVER-IP/api/v6/probe/history/server/{server_id}/database/{database_name}/schema/{schema_name}/table/{table_name}/from/{start_time}/to/{end_time}/{probe_id} \ -H 'Accept: application/json' \ -H 'X-Auth-Token: string'
import requests headers = { 'Accept': 'application/json', 'X-Auth-Token': 'string' } r = requests.get('https://PEM-SERVER-IP/api/v6/probe/history/server/{server_id}/database/{database_name}/schema/{schema_name}/table/{table_name}/from/{start_time}/to/{end_time}/{probe_id}', headers = headers) print(r.json())
const headers = { 'Accept':'application/json', 'X-Auth-Token':'string' }; fetch('https://PEM-SERVER-IP/api/v6/probe/history/server/{server_id}/database/{database_name}/schema/{schema_name}/table/{table_name}/from/{start_time}/to/{end_time}/{probe_id}', { method: 'GET', headers: headers }) .then(function(res) { return res.json(); }).then(function(body) { console.log(body); });
GET /probe/history/server/{server_id}/database/{database_name}/schema/{schema_name}/table/{table_name}/from/{start_time}/to/{end_time}/{probe_id}
Gets Probe history for table.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| server_id | path | integer | true | Server ID |
| database_name | path | string | true | Database Name |
| schema_name | path | string | true | Schema Name |
| table_name | path | string | true | Table Name |
| start_time | path | string | true | Start time in ISO-8601 format to get probe history |
| end_time | path | string | true | End time in ISO-8601 format to get probe history |
| probe_id | path | integer | true | Probe ID for which data will be returned |
| X-Auth-Token | header | string | true | Token of authorization |
Example responses
200 Response
[ {} ]
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Successful response | Inline |
Response Schema
Info
This operation does not require authentication
get__probe_history_server_{server_id}_database_{database_name}_schema_{schema_name}_index_{index_name}_from_{start_time}_to_{end_time}_{probe_id}
Code samples
# You can also use wget curl -X GET https://PEM-SERVER-IP/api/v6/probe/history/server/{server_id}/database/{database_name}/schema/{schema_name}/index/{index_name}/from/{start_time}/to/{end_time}/{probe_id} \ -H 'Accept: application/json' \ -H 'X-Auth-Token: string'
import requests headers = { 'Accept': 'application/json', 'X-Auth-Token': 'string' } r = requests.get('https://PEM-SERVER-IP/api/v6/probe/history/server/{server_id}/database/{database_name}/schema/{schema_name}/index/{index_name}/from/{start_time}/to/{end_time}/{probe_id}', headers = headers) print(r.json())
const headers = { 'Accept':'application/json', 'X-Auth-Token':'string' }; fetch('https://PEM-SERVER-IP/api/v6/probe/history/server/{server_id}/database/{database_name}/schema/{schema_name}/index/{index_name}/from/{start_time}/to/{end_time}/{probe_id}', { method: 'GET', headers: headers }) .then(function(res) { return res.json(); }).then(function(body) { console.log(body); });
GET /probe/history/server/{server_id}/database/{database_name}/schema/{schema_name}/index/{index_name}/from/{start_time}/to/{end_time}/{probe_id}
Gets Probe history for index.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| server_id | path | integer | true | Server ID |
| database_name | path | string | true | Database Name |
| schema_name | path | string | true | Schema Name |
| index_name | path | string | true | Index Name |
| start_time | path | string | true | Start time in ISO-8601 format to get probe history |
| end_time | path | string | true | End time in ISO-8601 format to get probe history |
| probe_id | path | integer | true | Probe ID for which data will be returned |
| X-Auth-Token | header | string | true | Token of authorization |
Example responses
200 Response
[ {} ]
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Successful response | Inline |
Response Schema
Info
This operation does not require authentication
get__probe_history_server_{server_id}_database_{database_name}_schema_{schema_name}_sequence_{sequence_name}_from_{start_time}_to_{end_time}_{probe_id}
Code samples
# You can also use wget curl -X GET https://PEM-SERVER-IP/api/v6/probe/history/server/{server_id}/database/{database_name}/schema/{schema_name}/sequence/{sequence_name}/from/{start_time}/to/{end_time}/{probe_id} \ -H 'Accept: application/json' \ -H 'X-Auth-Token: string'
import requests headers = { 'Accept': 'application/json', 'X-Auth-Token': 'string' } r = requests.get('https://PEM-SERVER-IP/api/v6/probe/history/server/{server_id}/database/{database_name}/schema/{schema_name}/sequence/{sequence_name}/from/{start_time}/to/{end_time}/{probe_id}', headers = headers) print(r.json())
const headers = { 'Accept':'application/json', 'X-Auth-Token':'string' }; fetch('https://PEM-SERVER-IP/api/v6/probe/history/server/{server_id}/database/{database_name}/schema/{schema_name}/sequence/{sequence_name}/from/{start_time}/to/{end_time}/{probe_id}', { method: 'GET', headers: headers }) .then(function(res) { return res.json(); }).then(function(body) { console.log(body); });
GET /probe/history/server/{server_id}/database/{database_name}/schema/{schema_name}/sequence/{sequence_name}/from/{start_time}/to/{end_time}/{probe_id}
Gets Probe history for sequence.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| server_id | path | integer | true | Server ID |
| database_name | path | string | true | Database Name |
| schema_name | path | string | true | Schema Name |
| sequence_name | path | string | true | Sequence Name |
| start_time | path | string | true | Start time in ISO-8601 format to get probe history |
| end_time | path | string | true | End time in ISO-8601 format to get probe history |
| probe_id | path | integer | true | Probe ID for which data will be returned |
| X-Auth-Token | header | string | true | Token of authorization |
Example responses
200 Response
[ {} ]
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Successful response | Inline |
Response Schema
Info
This operation does not require authentication
get__probe_history_server_{server_id}_database_{database_name}_schema_{schema_name}_view_{view_name}_from_{start_time}_to_{end_time}_{probe_id}
Code samples
# You can also use wget curl -X GET https://PEM-SERVER-IP/api/v6/probe/history/server/{server_id}/database/{database_name}/schema/{schema_name}/view/{view_name}/from/{start_time}/to/{end_time}/{probe_id} \ -H 'Accept: application/json' \ -H 'X-Auth-Token: string'
import requests headers = { 'Accept': 'application/json', 'X-Auth-Token': 'string' } r = requests.get('https://PEM-SERVER-IP/api/v6/probe/history/server/{server_id}/database/{database_name}/schema/{schema_name}/view/{view_name}/from/{start_time}/to/{end_time}/{probe_id}', headers = headers) print(r.json())
const headers = { 'Accept':'application/json', 'X-Auth-Token':'string' }; fetch('https://PEM-SERVER-IP/api/v6/probe/history/server/{server_id}/database/{database_name}/schema/{schema_name}/view/{view_name}/from/{start_time}/to/{end_time}/{probe_id}', { method: 'GET', headers: headers }) .then(function(res) { return res.json(); }).then(function(body) { console.log(body); });
GET /probe/history/server/{server_id}/database/{database_name}/schema/{schema_name}/view/{view_name}/from/{start_time}/to/{end_time}/{probe_id}
Gets Probe history for view.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| server_id | path | integer | true | Server ID |
| database_name | path | string | true | Database Name |
| schema_name | path | string | true | Schema Name |
| view_name | path | string | true | View Name |
| start_time | path | string | true | Start time in ISO-8601 format to get probe history |
| end_time | path | string | true | End time in ISO-8601 format to get probe history |
| probe_id | path | integer | true | Probe ID for which data will be returned |
| X-Auth-Token | header | string | true | Token of authorization |
Example responses
200 Response
[ {} ]
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Successful response | Inline |
Response Schema
Info
This operation does not require authentication
get__probe_history_server_{server_id}_database_{database_name}_schema_{schema_name}_function_{function_name}_args_{function_arguments}_from_{start_time}_to_{end_time}_{probe_id}
Code samples
# You can also use wget curl -X GET https://PEM-SERVER-IP/api/v6/probe/history/server/{server_id}/database/{database_name}/schema/{schema_name}/function/{function_name}/args/{function_arguments}/from/{start_time}/to/{end_time}/{probe_id} \ -H 'Accept: application/json' \ -H 'X-Auth-Token: string'
import requests headers = { 'Accept': 'application/json', 'X-Auth-Token': 'string' } r = requests.get('https://PEM-SERVER-IP/api/v6/probe/history/server/{server_id}/database/{database_name}/schema/{schema_name}/function/{function_name}/args/{function_arguments}/from/{start_time}/to/{end_time}/{probe_id}', headers = headers) print(r.json())
const headers = { 'Accept':'application/json', 'X-Auth-Token':'string' }; fetch('https://PEM-SERVER-IP/api/v6/probe/history/server/{server_id}/database/{database_name}/schema/{schema_name}/function/{function_name}/args/{function_arguments}/from/{start_time}/to/{end_time}/{probe_id}', { method: 'GET', headers: headers }) .then(function(res) { return res.json(); }).then(function(body) { console.log(body); });
GET /probe/history/server/{server_id}/database/{database_name}/schema/{schema_name}/function/{function_name}/args/{function_arguments}/from/{start_time}/to/{end_time}/{probe_id}
Gets Probe history for function.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| server_id | path | integer | true | Server ID |
| database_name | path | string | true | Database Name |
| schema_name | path | string | true | Schema Name |
| function_name | path | string | true | Function Name |
| function_arguments | path | string | false | Comma-separated list of function arguments. |
| start_time | path | string | true | Start time in ISO-8601 format to get probe history |
| end_time | path | string | true | End time in ISO-8601 format to get probe history |
| probe_id | path | integer | true | Probe ID for which data will be returned |
| X-Auth-Token | header | string | true | Token of authorization |
Detailed descriptions
function_arguments: Comma-separated list of function arguments.
Eg: ag_id integer,srv_id integer
Example responses
200 Response
[ {} ]
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Successful response | Inline |
Response Schema
Info
This operation does not require authentication
- On this page
- get__probe_history_agent_{agent_id}_from_{start_time}_to_{end_time}_{probe_id}
- get__probe_history_server_{server_id}_from_{start_time}_to_{end_time}_{probe_id}
- get__probe_history_server_{server_id}_database_{database_name}_from_{start_time}_to_{end_time}_{probe_id}
- get__probe_history_server_{server_id}_database_{database_name}_schema_{schema_name}_from_{start_time}_to_{end_time}_{probe_id}
- get__probe_history_server_{server_id}_database_{database_name}_schema_{schema_name}_table_{table_name}_from_{start_time}_to_{end_time}_{probe_id}
- get__probe_history_server_{server_id}_database_{database_name}_schema_{schema_name}_index_{index_name}_from_{start_time}_to_{end_time}_{probe_id}
- get__probe_history_server_{server_id}_database_{database_name}_schema_{schema_name}_sequence_{sequence_name}_from_{start_time}_to_{end_time}_{probe_id}
- get__probe_history_server_{server_id}_database_{database_name}_schema_{schema_name}_view_{view_name}_from_{start_time}_to_{end_time}_{probe_id}
- get__probe_history_server_{server_id}_database_{database_name}_schema_{schema_name}_function_{function_name}_args_{function_arguments}_from_{start_time}_to_{end_time}_{probe_id}