EDB Postgres Enterprise Manager REST APIs v7.0: Include/Exclude Database Monitoring v10.2

get__server_exclude_database_{sid}

Code samples

GET /server/exclude_database/{sid}

Retrieve information for the excluded databases, identified by the server id.

Parameters

NameInTypeRequiredDescription
sidpathstringtrueServer ID
X-Auth-TokenheaderstringtrueToken of authorization

Example responses

200 Response
{
  "server_id": 0,
  "name": "string",
  "exclude_databases": [
    "string"
  ]
}

Responses

StatusMeaningDescriptionSchema
200OKStatus 200ExcludeDatabases
Info

This operation does not require authentication

put__server_exclude_database_{sid}

Code samples

PUT /server/exclude_database/{sid}

Update the excluded database information.

Body parameter

{
  "exclude_databases": [
    "string"
  ]
}

Parameters

NameInTypeRequiredDescription
sidpathstringtrueServer ID
X-Auth-TokenheaderstringtrueToken of authorization
bodybodyExcludeDatabasesPutDatatruenone

Example responses

Responses

StatusMeaningDescriptionSchema
200OKEmail group updated successfullyNone

Response Schema

Info

This operation does not require authentication

delete__server_exclude_database_{sid}

Code samples

DELETE /server/exclude_database/{sid}

Delete the excluded databases.

Parameters

NameInTypeRequiredDescription
sidpathstringtrueServer ID
X-Auth-TokenheaderstringtrueToken of authorization

Example responses

Responses

StatusMeaningDescriptionSchema
200OKExcluded databases deleted successfullyNone

Response Schema

Info

This operation does not require authentication