Skip to content

Instantly share code, notes, and snippets.

@mnichols
Created February 14, 2017 16:37
Show Gist options
  • Save mnichols/cdaaef4c693ed6e81f0b5d352bae5138 to your computer and use it in GitHub Desktop.
Save mnichols/cdaaef4c693ed6e81f0b5d352bae5138 to your computer and use it in GitHub Desktop.
initializing conversations
/**
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