Add endpoints #2

Closed
opened 5 years ago by fedy95 · 0 comments
fedy95 commented 5 years ago

protocol jsonrpc 2.0

// GET temperature by date
{"jsonrpc": "2.0", "method": "weather.getByDate", "params": {"date": "2020-02-30"}, "id": 1}

// GET temperature by period
{"jsonrpc": "2.0", "method": "weather.getHistory", "params": {"lastDays": 30}, "id": 1}

return an error message with the json-rpc specification doc

protocol jsonrpc 2.0 // GET temperature by date {"jsonrpc": "2.0", "method": "weather.getByDate", "params": {"date": "2020-02-30"}, "id": 1} // GET temperature by period {"jsonrpc": "2.0", "method": "weather.getHistory", "params": {"lastDays": 30}, "id": 1} return an error message with the json-rpc specification doc
fedy95 added the
enhancement
label 5 years ago
fedy95 closed this issue 5 years ago
This repo is archived. You cannot comment on issues.
No Milestone
No Assignees
1 Participants
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.