Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Documentation
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
snac
Documentation
Commits
0b7fabca
Commit
0b7fabca
authored
Dec 21, 2015
by
Robbie Hott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated Server API
parent
ba8271b5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
Server API.md
Specifications/Server API.md
+9
-2
No files found.
Specifications/Server API.md
View file @
0b7fabca
...
...
@@ -22,8 +22,15 @@ Requests should be of the form:
### Request API Definitions
*
`command`
: the command to issue to the server. The following commands are allowed:
*
`edit`
- edit the given constellation
*
`search`
- return a list of constellations matching the given constellation
*
`edit`
- Edit a constellation. Read the constellation
`"id"`
from the given constellation object
and return all pieces of the constellation object to the client for editing. Sets the state
of the server to note that this user is editing this constellation.
*
`insert`
- Insert the given constellation in the database. Returns the full constellation
out of SNAC with ID and version numbers within the Constellation structure.
*
`update`
- Update a constellation. Read the constellation
`"id"`
from the given constellation
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)
*
`login`
- log in with the given credentials
*
`user_info`
- get the user information for the given user
*
`user`
: the current user's information
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment