Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameter

Description

namespace

The namespace for the draft replication jobs.

draft-id

The Draft ID of the replication job. The Draft ID can be any alphanumeric string. It must be unique in the namespace.

State of a Running Replication Job

To get the state (SNAPSHOTTING, REPLICATING, FAILING) of a running replication job, submit an HTTP POST request:

Code Block
POST /v3/namespaces/system/apps/delta/services/assessor/methods/v1/contexts/{namespace}/getState

...

Parameter

...

Description

...

namespace

...

The namespace for the draft replication jobs.

The request body is a JSON object by specifying the replication job name and offset base path of the replication job.

For example:

Code Block
{
 "name": [replicator name],
 "offsetBasePath": [offset base path for the replicator]
}