Update documentation for CI/CD and new hostname

This commit is contained in:
Niklas Fondberg
2020-03-02 10:32:54 +01:00
committed by GitHub
parent 2ee08ed77d
commit 723aa1c026
5 changed files with 28 additions and 20 deletions
+3 -3
View File
@@ -3,17 +3,17 @@
## Update pwinty_id
```
curl -X POST https://api2.photowall.com/orders/1/pwinty_id -H "Content-Type: application/json" -d '{"value": 123}'
curl -X POST https://api.photowall.com/orders/1/pwinty_id -H "Content-Type: application/json" -d '{"value": 123}'
```
## Update pwinty_image_id
```
curl -X POST https://api2.photowall.com/order-rows/1/pwinty_image_id -H "Content-Type: application/json" -d '{"value": 123}'
curl -X POST https://api.photowall.com/order-rows/1/pwinty_image_id -H "Content-Type: application/json" -d '{"value": 123}'
```
## Send a notification that the order-row has been delivered
```
curl -X POST https://api2.photowall.com/order-rows/1/send'
curl -X POST https://api.photowall.com/order-rows/1/send'
```