add docs for designers
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
# Designers
|
||||
|
||||
## List designers
|
||||
|
||||
```
|
||||
curl -X GET https://api2.photowall.com/designers/
|
||||
```
|
||||
|
||||
## Show designer
|
||||
|
||||
```
|
||||
curl -X GET https://api2.photowall.com/designers/1
|
||||
```
|
||||
|
||||
## Create designer
|
||||
|
||||
```
|
||||
curl -X POST https://api2.photowall.com/designers/ -H "Content-Type: application/json" \
|
||||
-d '{"name": "Spiderman", "username": "spiderman", "territory": "US", "currency": "USD"}'
|
||||
```
|
||||
|
||||
## Update designer
|
||||
|
||||
```
|
||||
curl -X PUT https://api2.photowall.com/designers/1 -H "Content-Type: application/json" -d '{"name": "Spiderman"}'
|
||||
```
|
||||
Reference in New Issue
Block a user