-
Notifications
You must be signed in to change notification settings - Fork 11
Rest API Index
Luke Lovett edited this page Aug 25, 2014
·
26 revisions
This page lists all the URIs and HTTP methods that may be used on them. In general, requests and response bodies are sent and received in JSON using the application/json
mimetype unless otherwise documented. Mongo Orchestration uses Python's json module, which is a strict JSON parser.
-
/hosts [POST, GET]
- /hosts/{host-id} [PUT, POST, GET, DELETE]
-
/rs [POST]
-
/rs/{repl-id} [PUT, GET, DELETE]
-
/rs/{repl-id}/members [GET, POST, DELETE]
- /rs/{repl-id}/members/{member-id} [GET, PUT, DELETE]
- /rs/{repl-id}/primary [GET, PUT, DELETE]
- /rs/{repl-id}/primary/stepdown [PUT]
- /rs/{repl-id}/secondaries [GET, DELETE]
- /rs/{repl-id}/arbiters [GET, DELETE]
- /rs/{repl-id}/hidden [GET, DELETE]
-
/rs/{repl-id}/members [GET, POST, DELETE]
-
/rs/{repl-id} [PUT, GET, DELETE]
-
/sh [POST]
-
/sh/{sh-id} [PUT, GET, DELETE]
-
/sh/{sh-id}/members [GET, POST]
- /sh/{sh-id}/members/{id} [GET, DELETE]
- /sh/{sh-id}/configservers [GET]
- /sh/{sh-id}/routers [GET, POST]
-
/sh/{sh-id}/members [GET, POST]
-
/sh/{sh-id} [PUT, GET, DELETE]