Changes for page DigDash API REST
Last modified by Aurelie Bertrand on 2025/03/25 16:13
From version 40.1
edited by Aurelie Bertrand
on 2024/08/30 09:29
on 2024/08/30 09:29
Change comment:
There is no comment for this version
To version 35.1
edited by Aurelie Bertrand
on 2024/08/30 08:52
on 2024/08/30 08:52
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Content
-
... ... @@ -2,10 +2,6 @@ 2 2 3 3 ---- 4 4 5 -(% class="wikigeneratedid" %) 6 -DigDash propose une API REST pour interagir avec un certain nombre d'objets DigDash. 7 -Vous pouvez utiliser Swagger pour la tester. 8 - 9 9 = Accéder à Swagger UI = 10 10 11 11 Swagger UI permet de visualiser et d'interagir avec les ressources des API. ... ... @@ -18,7 +18,7 @@ 18 18 Par exemple: 19 19 [[http:~~/~~/localhost:8080~~/~~/ddenterpriseapi/staticwebcontent/swagger/>>http://localhost:8080//ddenterpriseapi/staticwebcontent/swagger/]] 20 20 21 -Vous accéderez ainsi à l'interface avec l esressourcesdes API disponibles,classées par type.17 +Vous accéderez ainsi à l'interface avec la liste des API disponibles classées par type. 22 22 23 23 (% class="box infomessage" %) 24 24 ((( ... ... @@ -25,9 +25,6 @@ 25 25 💡 Dans le cas où le nom de domaine a été modifié, il est possible de spécifier un domaine ddapi personnalisé dans le champ **domain**. 26 26 ))) 27 27 28 -(% class="wikigeneratedid" %) 29 -[[image:DD_API.png]] 30 - 31 31 = S'authentifier = 32 32 33 33 Afin de pouvoir interagir avec les API, vous devez vous authentifier. ... ... @@ -173,12 +173,14 @@ 173 173 |(% style="width:173px" %)pattern|(% style="width:608px" %)Vous pouvez spécifier une expression régulière permettant de filtrer les utilisateurs à récupérer. 174 174 Par exemple, le pattern test.* va récupérer tous les utilisateurs dont le nom commence par test. 175 175 169 + 170 + 176 176 = Expiration et révocation de l'authentification = 177 177 178 178 (% style="line-height:1.7142857142857142; background-color:#ffffff" %) 179 -(% style=" color:#182027; font-family:Arial,sans-serif; font-size:10.5pt; font-style:normal;font-variant:normal;font-weight:400; text-decoration:none; white-space:pre-wrap" %)Lorsque le jeton d'accès expire, vous recevez une réponse (% style="color:#182027; font-family:~"Roboto Mono~",monospace; font-size:10pt; font-style:normal;font-variant:normal;font-weight:400; text-decoration:none; white-space:pre-wrap" %)401:(%%) "Unauthorized".174 +(% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial, sans-serif; color: rgb(24, 32, 39); font-weight: 400; font-style: normal; text-decoration: none" %)Lorsque le jeton d'accès expire, vous recevez une réponse (% style="font-size: 10pt; font-variant: normal; white-space: pre-wrap; font-family: ~"Roboto Mono~", monospace; color: rgb(24, 32, 39); font-weight: 400; font-style: normal; text-decoration: none" %)401:(%%) "Unauthorized". 180 180 181 181 (% style="line-height:1.7142857142857142; background-color:#ffffff" %) 182 -(% style=" color:#182027; font-family:Arial,sans-serif; font-size:10.5pt; font-style:normal;font-variant:normal;font-weight:400; text-decoration:none; white-space:pre-wrap" %)L'en-tête d'autorisation du porteur est toujours présent pour vos demandes, mais le jeton d'accès a expiré. Lorsque cela se produit, vous devez invalider le jeton expiré et générer un nouveau jeton d'accès :177 +(% style="font-size: 10.5pt; font-variant: normal; white-space: pre-wrap; font-family: Arial, sans-serif; color: rgb(24, 32, 39); font-weight: 400; font-style: normal; text-decoration: none" %)L'en-tête d'autorisation du porteur est toujours présent pour vos demandes, mais le jeton d'accès a expiré. Lorsque cela se produit, vous devez invalider le jeton expiré et générer un nouveau jeton d'accès : 183 183 184 184
- DD_API.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -xwiki:XWiki.aureliebertranddigdashbiz - Size
-
... ... @@ -1,1 +1,0 @@ 1 -63.1 KB - Content