Cambios para el documento DigDash API REST
Última modificación por Aurelie Bertrand el 2025/03/25 16:13
Desde la versión 1.3
editado por Aurelie Bertrand
el 2024/08/28 16:58
el 2024/08/28 16:58
Cambiar el comentario:
No hay comentario para esta versión
Hasta la versión 1.1
editado por Aurelie Bertrand
el 2024/08/28 14:19
el 2024/08/28 14:19
Cambiar el comentario:
No hay comentario para esta versión
Resumen
-
Propiedades de página (1 modificado, 0 añadido, 0 eliminado)
Detalles
- Propiedades de página
-
- Contenido
-
... ... @@ -1,44 +1,0 @@ 1 -= Ouvrir Swagger UI = 2 - 3 -Swagger UI permet de visualiser et d'interagir avec les ressources des API. 4 -Cette interface fournit également une documentation visuelle facilitant leur utilisation. 5 - 6 -Pour ouvrir Swagger UI, utilisez le lien suivant : 7 - [[http:~~/~~/~[serveur~]:~[port~]/~[domaine~]/staticwebcontent/swagger/>>url:http://[serveur]:[port]/[domain]/updateuser]] 8 -dans lequel vous remplacez [serveur], [port] et [domaine] par vos informations. 9 - 10 -Par exemple: 11 -[[http:~~/~~/localhost:8080~~/~~/ddenterpriseapi/staticwebcontent/swagger/>>http://localhost:8080//ddenterpriseapi/staticwebcontent/swagger/]] 12 - 13 -Vous accéderez ainsi à l'interface avec la liste des API disponibles classées par type. 14 - 15 -= S'authentifier = 16 - 17 -Afin de pouvoir interagir avec les API, vous devez vous authentifier. 18 - 19 -* (% 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" %)Cliquez sur le bouton (%%)**Authorize**(% 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" %) en haut à droite de la page Digdash API. (Le cadenas ouvert signifie que vous n’êtes pas autorisé.)(%%) 20 -➡ (% 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" %)La fenêtre (%%)**Available authorizations** ((% 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" %)Autorisations disponibles) s'affiche. 21 - 22 -Deux méthodes d'autorisation sont actuellement disponibles : 23 - 24 -* ((( 25 -**BasicAuth **: La méthode Basic Authentification permet de s'identifier avec le nom d'utilisateur et mot de passe du LDAP. 26 -))) 27 -* ((( 28 -**bearerAuth** : La méthode Bearer Authentification (authentification du porteur) qui utilise des jetons de sécurité appelés jetons de porteur. 29 -))) 30 - 31 -La méthode BasicAuth sera utilisée pour la première authentification. Vous pourrez alors générer un jeton de sécurité et utiliser la seconde méthode d'authentification. 32 - 33 -(% class="box warningmessage" %) 34 -((( 35 -❗Il n'est pas recommandé d'utiliser la méthode **BasicAuth** de manière systématique pour des raisons de sécurité. 36 -))) 37 - 38 -== Première authentification == 39 - 40 -Entrez votre nom d'utilisateur et mot de passe Digdash. 41 - 42 -Cliquez sur le bouton Authorize puis, l'authentification effectuée, sur Close. 43 - 44 -