@@ -22,17 +22,19 @@ Requests should be of the form:
...
@@ -22,17 +22,19 @@ Requests should be of the form:
### Request API Definitions
### Request API Definitions
*`command` : the command to issue to the server. The following commands are allowed:
*`command` : the command to issue to the server. The following commands are allowed:
*`edit` - Edit a constellation. Read the constellation `"id"` from the given constellation object
* User-level Commands
and return all pieces of the constellation object to the client for editing. Sets the state
*`login` - log in with the given credentials
of the server to note that this user is editing this constellation.
*`user_info` - get the user information for the given user
*`insert` - Insert the given constellation in the database. Returns the full constellation
* Constellation Management Commands
out of SNAC with ID and version numbers within the Constellation structure.
*`edit` - Edit a constellation. Read the constellation `"id"` from the given constellation object
*`update` - Update a constellation. Read the constellation `"id"` from the given constellation
and return all pieces of the constellation object to the client for editing. Sets the state
object and make the requested changes to the constellation.
of the server to note that this user is editing this constellation.
*`search` - Return a list of constellations matching the given constellation. Read all the data available
*`insert` - Insert the given constellation in the database. Returns the full constellation
in the given constellation object and return a list of constellations that match (or are similar)
out of SNAC with ID and version numbers within the Constellation structure.
*`login` - log in with the given credentials
*`update` - Update a constellation. Read the constellation `"id"` from the given constellation
*`user_info` - get the user information for the given user
object and make the requested changes to the constellation.
*`search` - Return a list of constellations matching the given constellation. Read all the data available
in the given constellation object and return a list of constellations that match (or are similar)
*`user` : the current user's information
*`user` : the current user's information
*`token` : the current session token
*`token` : the current session token
*`constellation` : all available parts of the constellation to enact the command over. If the interaction does not utilize a constellation, this may be omitted. The full specification for the constellation structure may be viewed [here]().
*`constellation` : all available parts of the constellation to enact the command over. If the interaction does not utilize a constellation, this may be omitted. The full specification for the constellation structure may be viewed [here]().