Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement last missing REST API calls #2

Closed
majst01 opened this issue May 7, 2014 · 0 comments
Closed

Implement last missing REST API calls #2

majst01 opened this issue May 7, 2014 · 0 comments
Assignees
Milestone

Comments

@majst01
Copy link
Collaborator

majst01 commented May 7, 2014

from api.go:

// force a raft log compaction
self.registerEndpoint(p, "post", "/raft/force_compaction", self.forceRaftCompaction)

// fetch current list of available interfaces
self.registerEndpoint(p, "get", "/interfaces", self.listInterfaces)

// cluster config endpoints
self.registerEndpoint(p, "get", "/cluster/servers", self.listServers)
self.registerEndpoint(p, "post", "/cluster/shards", self.createShard)
self.registerEndpoint(p, "get", "/cluster/shards", self.getShards)
self.registerEndpoint(p, "del", "/cluster/shards/:id", self.dropShard)

// return whether the cluster is in sync or not
self.registerEndpoint(p, "get", "/sync", self.isInSync)
@majst01 majst01 modified the milestone: 1.1 May 7, 2014
@majst01 majst01 self-assigned this May 7, 2014
majst01 added a commit that referenced this issue Jun 25, 2014
majst01 added a commit that referenced this issue Jun 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant