|
185 | 185 | "metadata": {}, |
186 | 186 | "outputs": [], |
187 | 187 | "source": [ |
188 | | - "response = client.post(\"/concept_scheme/\", json=scheme)\n", |
| 188 | + "response = client.post(\"api/v1/concept_schemes/\", json=scheme)\n", |
189 | 189 | "response.status_code" |
190 | 190 | ] |
191 | 191 | }, |
|
296 | 296 | "metadata": {}, |
297 | 297 | "outputs": [], |
298 | 298 | "source": [ |
299 | | - "response = client.post(\"/concept/\", json=concept_top)\n", |
| 299 | + "response = client.post(\"api/v1/concepts/\", json=concept_top)\n", |
300 | 300 | "response.status_code" |
301 | 301 | ] |
302 | 302 | }, |
|
389 | 389 | "metadata": {}, |
390 | 390 | "outputs": [], |
391 | 391 | "source": [ |
392 | | - "response = client.post(\"/concept/\", json=concept_mid)\n", |
| 392 | + "response = client.post(\"api/v1/concepts/\", json=concept_mid)\n", |
393 | 393 | "response.status_code" |
394 | 394 | ] |
395 | 395 | }, |
|
410 | 410 | "metadata": {}, |
411 | 411 | "outputs": [], |
412 | 412 | "source": [ |
413 | | - "response = client.get(\"/relationships/\", params={\"iri\": \"http://data.europa.eu/xsp/cn2024/370021000090\"})\n", |
| 413 | + "response = client.get(\"api/v1/relationships/\", params={\"iri\": \"http://data.europa.eu/xsp/cn2024/370021000090\"})\n", |
414 | 414 | "response.json()" |
415 | 415 | ] |
416 | 416 | }, |
|
429 | 429 | "metadata": {}, |
430 | 430 | "outputs": [], |
431 | 431 | "source": [ |
432 | | - "client.get(\"/concept/\", params={\"iri\": \"http://data.europa.eu/xsp/cn2024/280011000090\"}).json()" |
| 432 | + "client.get(\"api/v1/concepts/\", params={\"iri\": \"http://data.europa.eu/xsp/cn2024/280011000090\"}).json()" |
433 | 433 | ] |
434 | 434 | }, |
435 | 435 | { |
|
439 | 439 | "metadata": {}, |
440 | 440 | "outputs": [], |
441 | 441 | "source": [ |
442 | | - "response = client.get(\"/relationships/\", params={\"iri\": \"http://data.europa.eu/xsp/cn2024/280011000090\", \"target\": \"1\"})\n", |
| 442 | + "response = client.get(\"api/v1/relationships/\", params={\"iri\": \"http://data.europa.eu/xsp/cn2024/280011000090\", \"target\": \"1\"})\n", |
443 | 443 | "response.json()" |
444 | 444 | ] |
445 | 445 | }, |
|
540 | 540 | "metadata": {}, |
541 | 541 | "outputs": [], |
542 | 542 | "source": [ |
543 | | - "response = client.post(\"/concept/\", json=concept_low)\n", |
| 543 | + "response = client.post(\"api/v1/concepts/\", json=concept_low)\n", |
544 | 544 | "response.status_code" |
545 | 545 | ] |
546 | 546 | }, |
|
561 | 561 | "metadata": {}, |
562 | 562 | "outputs": [], |
563 | 563 | "source": [ |
564 | | - "response = client.get(\"/concept/search/\", params={\"query\": \"kodak\", \"language\": \"es\"})\n", |
| 564 | + "response = client.get(\"api/v1/concepts/search/\", params={\"query\": \"kodak\", \"language\": \"es\"})\n", |
565 | 565 | "response.json()" |
566 | 566 | ] |
567 | 567 | }, |
|
580 | 580 | "metadata": {}, |
581 | 581 | "outputs": [], |
582 | 582 | "source": [ |
583 | | - "response = client.get(\"/concept/suggest/\", params={\"query\": \"pape\", \"language\": \"es\"})\n", |
| 583 | + "response = client.get(\"api/v1/concepts/suggest/\", params={\"query\": \"pape\", \"language\": \"es\"})\n", |
584 | 584 | "response.json()" |
585 | 585 | ] |
586 | 586 | }, |
|
687 | 687 | "metadata": {}, |
688 | 688 | "outputs": [], |
689 | 689 | "source": [ |
690 | | - "response = client.post(\"/concept/\", json=concept_film)\n", |
| 690 | + "response = client.post(\"api/v1/concepts/\", json=concept_film)\n", |
691 | 691 | "response.status_code" |
692 | 692 | ] |
693 | 693 | }, |
|
773 | 773 | "metadata": {}, |
774 | 774 | "outputs": [], |
775 | 775 | "source": [ |
776 | | - "response = client.post(\"/correspondence/\", json=correspondence)\n", |
| 776 | + "response = client.post(\"api/v1/correspondences/\", json=correspondence)\n", |
777 | 777 | "response.status_code" |
778 | 778 | ] |
779 | 779 | }, |
|
817 | 817 | "metadata": {}, |
818 | 818 | "outputs": [], |
819 | 819 | "source": [ |
820 | | - "response = client.post(\"/association/\", json=association)\n", |
| 820 | + "response = client.post(\"api/v1/associations/\", json=association)\n", |
821 | 821 | "response.status_code" |
822 | 822 | ] |
823 | 823 | }, |
|
855 | 855 | "metadata": {}, |
856 | 856 | "outputs": [], |
857 | 857 | "source": [ |
858 | | - "response = client.post(\"/relationships/\", json=film_relationship)\n", |
| 858 | + "response = client.post(\"api/v1/relationships/\", json=film_relationship)\n", |
859 | 859 | "response.status_code" |
860 | 860 | ] |
861 | 861 | }, |
|
866 | 866 | "metadata": {}, |
867 | 867 | "outputs": [], |
868 | 868 | "source": [ |
869 | | - "response = client.get(\"/relationships/\", params={\"iri\": \"http://data.europa.eu/xsp/cn2024/370400100080\"})\n", |
| 869 | + "response = client.get(\"api/v1/relationships/\", params={\"iri\": \"http://data.europa.eu/xsp/cn2024/370400100080\"})\n", |
870 | 870 | "response.json()" |
871 | 871 | ] |
872 | 872 | }, |
873 | 873 | { |
874 | 874 | "cell_type": "code", |
875 | 875 | "execution_count": null, |
876 | | - "id": "50742a81-5579-44ad-a608-87faa525f8b9", |
| 876 | + "id": "0e064f72", |
877 | 877 | "metadata": {}, |
878 | 878 | "outputs": [], |
879 | 879 | "source": [] |
880 | 880 | } |
881 | 881 | ], |
882 | 882 | "metadata": { |
883 | 883 | "kernelspec": { |
884 | | - "display_name": "Python 3 (ipykernel)", |
| 884 | + "display_name": "ds", |
885 | 885 | "language": "python", |
886 | 886 | "name": "python3" |
887 | 887 | }, |
|
895 | 895 | "name": "python", |
896 | 896 | "nbconvert_exporter": "python", |
897 | 897 | "pygments_lexer": "ipython3", |
898 | | - "version": "3.13.2" |
| 898 | + "version": "3.12.2" |
899 | 899 | } |
900 | 900 | }, |
901 | 901 | "nbformat": 4, |
|
0 commit comments