You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

88 lines
2.6 KiB
Plaintext

{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"id": "1d499616-2ed6-49c5-a3f3-394f5330dd1f",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "96517076-dff6-4e43-b858-0215eb5e538e",
"metadata": {},
"outputs": [],
"source": [
"# --------ETC PORTAL------------ #\n",
"\n",
"@app.route(f'/{base_url}/api/')\n",
"https://hub.xpub.nl/soupboat/~chae/api/\n",
"\n",
"@app.route(f'/{base_url}/the-etc-portal-is-open/')\n",
"https://hub.xpub.nl/soupboat/~chae/api/the-etc-portal-is-open/\n",
"\n",
"@app.route(f'/{base_url}/start-contaminating/', methods = ['GET'])\n",
"https://hub.xpub.nl/soupboat/~chae/api/start-contaminating/\n",
"\n",
"@app.route(f'/{base_url}/the-etc-portal-is-never-opened/', methods = ['GET', 'POST'])\n",
"https://hub.xpub.nl/soupboat/~chae/api/the-etc-portal-is-never-opened/ \n",
"\n",
"@app.route(f'/{base_url}/the-etc-portal-is-closed/', methods = ['GET', 'POST'])\n",
"https://hub.xpub.nl/soupboat/~chae/api/the-etc-portal-is-closed/\n",
"\n",
"\n",
"# --------AND I WISH THAT YOUR QUESTION HAS BEEN ANSWERED------------ #\n",
"\n",
"@app.route(\"/{base_url}/and_i_wish_that_your_question_has_been_answered/\", methods=['GET', 'POST'])\n",
"https://hub.xpub.nl/soupboat/~grgr/api/and_i_wish_that_your_question_has_been_answered/\n",
"\n",
"@app.route(f\"/{base_url}/archive/\", methods=['GET'])\n",
"https://hub.xpub.nl/soupboat/~grgr/api/archive/\n",
"\n",
"@app.route(f\"/{base_url}/save/\", methods=['GET', 'POST'])\n",
"https://hub.xpub.nl/soupboat/~grgr/api/save/\n",
"\n",
"\n",
"# --------VERNACULAR MAPS------------ #\n",
"\n",
"@app.route(f\"/{base_url}/annotation-compass/\", methods=['GET', 'POST'])\n",
"\n",
"@app.route(f\"/{base_url}/annotation-compass/annotate/<image>/\", methods=['GET', 'POST'])\n",
"\n",
"@app.route(f\"/{base_url}/annotation-compass/get-labels/<image>\", methods=['GET', 'POST'])"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "56987d98-84ba-43c9-88a9-fc365cca2ecc",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"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.7.3"
}
},
"nbformat": 4,
"nbformat_minor": 5
}