Skip to content

Commit

Permalink
update urls for navigation and document endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
philippepons committed Sep 10, 2024
1 parent e889d75 commit 8803de3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions docs/cookbook/periodical.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ Il permet de déclarer la structure du document TEI et de retrouver des fragment

{{ macro_collapse_card_api_doc(
verb_http="get",
url="https://dev.chartes.psl.eu/dots/api/dts/navigation?id=ENCPOS_1972_18")
url="https://dev.chartes.psl.eu/dots/api/dts/navigation?resource=ENCPOS_1972_18&down=1")
}}

#### Créer la base de données
Expand Down Expand Up @@ -267,7 +267,7 @@ Le corpus de test est disponible : <a href="https://github.com/chartes/dots_docu
- Chaque position est dans ce cas un fragment du document.
{{ macro_collapse_card_api_doc(
verb_http="get",
url="https://dev.chartes.psl.eu/dots/api/dts/navigation?id=ENCPOS_1972_c2&ref=ENCPOS_1972_18")
url="https://dev.chartes.psl.eu/dots/api/dts/navigation?resource=ENCPOS_1972_c2&ref=ENCPOS_1972_18")
}}

#### Dossier `metadata/`
Expand Down Expand Up @@ -298,12 +298,12 @@ L'élément `<citeStructure>` ( <a href="https://www.tei-c.org/release/doc/tei-p

{{ macro_collapse_card_api_doc(
verb_http="get",
url="https://dev.chartes.psl.eu/dots/api/dts/navigation?id=ENCPOS_1972_c2&ref=2320")
url="https://dev.chartes.psl.eu/dots/api/dts/navigation?resource=ENCPOS_1972_c2&ref=2320")
}}

{{ macro_collapse_card_api_doc(
verb_http="get",
url="https://dev.chartes.psl.eu/dots/api/dts/document?id=ENCPOS_1972_c2&ref=2320")
url="https://dev.chartes.psl.eu/dots/api/dts/document?resource=ENCPOS_1972_c2&ref=2320")
}}

#### Créer la base de données
Expand Down
8 changes: 4 additions & 4 deletions docs/cookbook/theater.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ Ces métadonnées – label et liage Wikidata du locuteur – sont ainsi accessi

{{ macro_collapse_card_api_doc(
verb_http="get",
url="https://dev.chartes.psl.eu/dots/api/dts/navigation?id=moliere_tartuffe&ref=a3-s2")
url="https://dev.chartes.psl.eu/dots/api/dts/navigation?resource=moliere_tartuffe&ref=a3-s2")
}}


Expand Down Expand Up @@ -323,21 +323,21 @@ Quelques exemples :

{{ macro_collapse_card_api_doc(
verb_http="get",
url="https://dev.chartes.psl.eu/dots/api/dts/navigation?id=moliere_tartuffe&down=3&filter=tei:role=Tartuffe")
url="https://dev.chartes.psl.eu/dots/api/dts/navigation?resource=moliere_tartuffe&down=3&filter=tei:role=Tartuffe")
}}


**Le texte de tous les tours de parole de Tartuffe**

{{ macro_collapse_card_api_doc(
verb_http="get",
url="https://dev.chartes.psl.eu/dots/api/dts/document?id=moliere_tartuffe&filter=tei:role=Tartuffe")
url="https://dev.chartes.psl.eu/dots/api/dts/document?resource=moliere_tartuffe&filter=tei:role=Tartuffe")
}}


**Le texte de tous les tours de parole de Tartuffe en HTML pour republication**

{{ macro_collapse_card_api_doc(
verb_http="get",
url="https://dev.chartes.psl.eu/dots/api/dts/document?id=moliere_tartuffe&filter=tei:role=Tartuffe&format=html")
url="https://dev.chartes.psl.eu/dots/api/dts/document?resource=moliere_tartuffe&filter=tei:role=Tartuffe&format=html")
}}

0 comments on commit 8803de3

Please sign in to comment.