{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "9a92d8cc", "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "['GET'] /api/traders\n", "['GET'] /api/market\n", "['GET'] /api/traders/{name}\n", "['GET'] /api/traders/{name}/logs\n" ] } ], "source": [ "from backend.api import app\n", "\n", "for route in app.routes:\n", " methods = getattr(route, \"methods\", None)\n", " if methods and route.path.startswith(\"/api\"):\n", " print(sorted(methods), route.path)" ] }, { "cell_type": "code", "execution_count": null, "id": "94f2ce7d", "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "markdown", "id": "bcabbdcc", "metadata": {}, "source": [] }, { "cell_type": "markdown", "id": "e887ffb4", "metadata": {}, "source": [] }, { "cell_type": "code", "execution_count": null, "id": "84ccb0d4", "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": null, "id": "3a38210d", "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": null, "id": "a30318db", "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": null, "id": "b11ae610", "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": null, "id": "cb5701c1", "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": null, "id": "77a09eb8", "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": null, "id": "9d027690", "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": null, "id": "844697f0", "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": null, "id": "1cb7ebbe", "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.13.13" } }, "nbformat": 4, "nbformat_minor": 5 }