## Mellon API ## GET /state #### Authentication Clients must supply the following data #### Response: - Status code 200 - Headers: [] - Supported content types are: - `application/json` - `text/html;charset=utf-8` - Locked ```javascript {"state":"Locked","until":[]} ``` - Locked ```html Mellon stateLocked ``` - Unlocked until a given date ```javascript {"state":"Unlocked","until":"2015-10-06T00:00:00Z"} ``` - Unlocked until a given date ```html Mellon stateUnlocked until 2015-10-06 00:00:00 UTC ``` ## PUT /state #### Authentication Clients must supply the following data #### Request: - Supported content types are: - `application/json` - Example: `application/json` ```javascript {"state":"Locked","until":[]} ``` #### Response: - Status code 200 - Headers: [] - Supported content types are: - `application/json` - `text/html;charset=utf-8` - Locked ```javascript {"state":"Locked","until":[]} ``` - Locked ```html Mellon stateLocked ``` - Unlocked until a given date ```javascript {"state":"Unlocked","until":"2015-10-06T00:00:00Z"} ``` - Unlocked until a given date ```html Mellon stateUnlocked until 2015-10-06 00:00:00 UTC ``` ## GET /time #### Authentication Clients must supply the following data #### Response: - Status code 200 - Headers: [] - Supported content types are: - `application/json` - `text/html;charset=utf-8` - 2015-10-06 ```javascript "2015-10-06T00:00:00Z" ``` - 2015-10-06 ```html Server timeServer time is 2015-10-06 00:00:00 UTC ```