Update documentation for CI/CD and new hostname
This commit is contained in:
+5
-5
@@ -3,24 +3,24 @@
|
||||
## List designers
|
||||
|
||||
```
|
||||
curl -X GET https://api2.photowall.com/designers/
|
||||
curl -X GET https://api.photowall.com/designers/
|
||||
```
|
||||
|
||||
## Show designer
|
||||
|
||||
```
|
||||
curl -X GET https://api2.photowall.com/designers/1
|
||||
curl -X GET https://api.photowall.com/designers/1
|
||||
```
|
||||
|
||||
## Create designer
|
||||
|
||||
```
|
||||
curl -X POST https://api2.photowall.com/designers/ -H "Content-Type: application/json" \
|
||||
curl -X POST https://api.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"}'
|
||||
```
|
||||
curl -X PUT https://api.photowall.com/designers/1 -H "Content-Type: application/json" -d '{"name": "Spiderman"}'
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user