diff --git a/market_approval_server/templates/index.html b/market_approval_server/templates/index.html index f3c8a13..511ee4d 100644 --- a/market_approval_server/templates/index.html +++ b/market_approval_server/templates/index.html @@ -24,6 +24,16 @@
Requires to know the MARKET_ID:
+/proposed_market/MARKET_ID
: Marked in "Proposed markets" database/approved_market/MARKET_ID
: Marked in "Approved markets" database/rejected_market/MARKET_ID
: Marked in "Rejected markets" database/processed_market/MARKET_ID
: Marked in "Processed markets" database/market/MARKET_ID
: Marked in any databasecurl -X PUT -H "Authorization: YOUR_API_KEY" -H "Content-Type: application/json" -d '{"id": "MARKET_ID", ...}' -k {{ server_ip }}/update_market+
curl -X PUT -H "Authorization: YOUR_API_KEY" -H "Content-Type: application/json" -d '{"id": "MARKET_ID", "new_id": "NEW_MARKET_ID"}' -k {{ server_ip }}/update_market_id+
curl -X POST -H "Authorization: YOUR_API_KEY" -H "Content-Type: application/json" -k {{ server_ip }}/get_process_random_approved_market