You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Plugin uses PUT to start replication, but POST to pause, resume and stop. Seems inconsistent.
POST /_plugins/_replication/{index}/_pause
POST /_plugins/_replication/{index}/_resume
PUT /_plugins/_replication/{index}/_start
POST /_plugins/_replication/{index}/_stop
What is the expected behavior?
All these APIs should be either PUT or POST. Feels like POST.
The text was updated successfully, but these errors were encountered:
PUT method is used to create or update the resource. Here PUT is used for start replication as it "creates" the replication tasks and adds the replication metadata in the replication system index.
What is the bug?
Plugin uses PUT to start replication, but POST to pause, resume and stop. Seems inconsistent.
POST /_plugins/_replication/{index}/_pause
POST /_plugins/_replication/{index}/_resume
PUT /_plugins/_replication/{index}/_start
POST /_plugins/_replication/{index}/_stop
What is the expected behavior?
All these APIs should be either PUT or POST. Feels like POST.
The text was updated successfully, but these errors were encountered: