API - GeorgiosAndreadakis/wyt GitHub Wiki
Resource Pact:
- GET /pact - get the default pact
- PUT /pact - sets changes to the pact
A pact has the following attributes:
- title: String
- members: List
- selectionStrategy: String
- confirmationStrategy: String
Resource Turn:
- GET /turn - get the current turn
A turn has the following attributes:
- candidate: String
- lastConfirmation: String (contains the member and the timestamp of the confirmation)
Resource Confirmation:
- POST /confirmations/ e.g. POST http://wyt.skysail.io/pact/v1/confirmations/ with body 'Georgios'