P5-6517 add market resource (#32)

This commit is contained in:
Martin Carlsson
2021-01-12 15:09:48 +01:00
committed by GitHub
parent 1f016ee0c8
commit bd1b0e642b
5 changed files with 86 additions and 1 deletions
+19
View File
@@ -0,0 +1,19 @@
# Markets
## List markets
```
curl -X GET https://api.photowall.com/markets/
```
## Show market
```
curl -X GET https://api.photowall.com/markets/1
```
## Update market
```
curl -X PUT https://api:5000/markets/1 -H "Content-Type: application/json" -d '{"price_adjustment": "1.25"}
```