Created
February 14, 2017 16:37
-
-
Save mnichols/cdaaef4c693ed6e81f0b5d352bae5138 to your computer and use it in GitHub Desktop.
initializing conversations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
GET /queries?clientId=42&type=boards | |
404 Not Found | |
POST /commands | |
{ commands: [{ correlationId: 789, id: 456, command: 'createContext', clientId: '42', type: 'boards' }]} | |
202 Not Dun | |
Location: /poll?correlationId=789 | |
GET /poll?correlationId=789 | |
3xx Not Modified | |
200 OK | |
{ events: ['contextCreated': '456' ]} | |
GET /sam?contextId=456 | |
Etag: 3 | |
200 OK | |
{ | |
comments: [], | |
markers: [], | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment