Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1.46 KB

endpoints.md

File metadata and controls

32 lines (25 loc) · 1.46 KB

@app.route("/get_product/<product_id>/", methods=["GET"]) @app.route("/get_product/<product_id>", methods=["GET"])

@app.route("/get_all_products", defaults={'limit': None}, methods=["GET"]) @app.route("/get_all_products/", methods=["GET"]) @app.route("/get_number_of_all_products", methods=["GET"])

@app.route("/update_product/<product_id>/", methods=["PUT"]) @app.route("/add_product/path:parameters", methods=["POST"]) @app.route("/remove_product/<product_id>", methods=["DELETE"])

@app.route("/get_recommended_products/", methods=["GET"]) @app.route("/get_recommended_products", defaults={'limit': 5}, methods=["GET"]) @app.route("/get_all_recommended_products", methods=["GET"])

@app.route("/get_image/<product_id>", methods=["GET"]) @app.route("/get_image/<product_id>/<image_id>", methods=["GET"]) @app.route("/get_image/utility/", methods=["GET"])

@app.route("/get_basket_for_user/<user_id>", methods=["GET"]) @app.route("/add_product_to_basket/<user_id>/<product_id>/", methods=["POST"]) @app.route("/remove_product_from_basket/<user_id>/<product_id>", methods=["DELETE"]) @app.route("/clear_basket/<user_id>", methods=["DELETE"])

@app.route("/get_cookie", methods=["GET"]) @app.route("/get_cookie/<custom_uuid>", methods=["GET"]) @app.route("/check_cookie/", methods=["GET"])

@app.route("/", methods=["GET"]) @app.route("/basket", methods=["GET"]) @app.route("/products", methods=["GET"]) @app.route("/contact", methods=["GET"])