EDB Postgres Enterprise Manager REST APIs v8.0: Copy Probe v10.2

post__probe_copy_agent_{agent_id}

Code samples

POST /probe/copy/agent/{agent_id}

Copies agent-level probe to another agent.

Body parameter

[
  {
    "type": "string",
    "agent_id": 0
  }
]

Parameters

NameInTypeRequiredDescription
agent_idpathintegertrueAgent ID
X-Auth-TokenheaderstringtrueToken of authorization
bodybodyCopyAgentDatatruenone
Detailed descriptions

body: NOTE:

  • type value must be 'agent'

Example responses

Responses

StatusMeaningDescriptionSchema
200OKStatus 200None

Response Schema

Info

This operation does not require authentication

post__probe_copy_server_{server_id}

Code samples

POST /probe/copy/server/{server_id}

Copies server-level probe to another server.

Body parameter

[
  {
    "type": "string",
    "server_id": 0
  }
]

Parameters

NameInTypeRequiredDescription
server_idpathintegertrueServer ID
X-Auth-TokenheaderstringtrueToken of authorization
bodybodyCopyServerDatatruenone
Detailed descriptions

body: NOTE:

  • type value must be 'server'

Example responses

Responses

StatusMeaningDescriptionSchema
200OKStatus 200None

Response Schema

Info

This operation does not require authentication

post__probe_copy_server_{server_id}_database_{database_name}

Code samples

POST /probe/copy/server/{server_id}/database/{database_name}

Copies database-level probe to another database.

Body parameter

[
  {
    "type": "string",
    "server_id": 0,
    "database_name": "string"
  }
]

Parameters

NameInTypeRequiredDescription
server_idpathintegertrueServer ID
database_namepathstringtrueDatabase name
X-Auth-TokenheaderstringtrueToken of authorization
bodybodyCopyDatabaseDatatruenone
Detailed descriptions

body: NOTE:

  • type value must be 'database'

Example responses

Responses

StatusMeaningDescriptionSchema
200OKStatus 200None

Response Schema

Info

This operation does not require authentication

post__probe_copy_server_{server_id}_database_{database_name}_schema_{schema_name}

Code samples

POST /probe/copy/server/{server_id}/database/{database_name}/schema/{schema_name}

Copies schema-level probe to another schema.

Body parameter

[
  {
    "type": "string",
    "server_id": 0,
    "database_name": "string",
    "schema_name": "string"
  }
]

Parameters

NameInTypeRequiredDescription
server_idpathintegertrueServer ID
database_namepathstringtrueDatabase name
schema_namepathstringtrueSchema name
X-Auth-TokenheaderstringtrueToken of authorization
bodybodyCopySchemaDatatruenone
Detailed descriptions

body: NOTE:

  • type value must be 'schema'

Example responses

Responses

StatusMeaningDescriptionSchema
200OKStatus 200None

Response Schema

Info

This operation does not require authentication