Passer au contenu principal

Documentation Index

Fetch the complete documentation index at: https://omer-914cc1c6.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Activation de l’authentification

Vous pouvez ajouter une méthode d’authentification à votre docs.json pour l’activer globalement sur chaque page, ou la définir au cas par cas. La méthode d’authentification d’une page remplace la méthode globale si les deux sont définies.

Jeton Bearer

"api": {
    "mdx": {
      "auth": {
        "method": "bearer"
      }
    }
}

Authentification Basic

"api": {
    "mdx": {
      "auth": {
        "method": "basic"
      }
    }
}

Clé d’API

"api": {
    "mdx": {
      "auth": {
        "method": "key",
        "name": "x-api-key"
      }
    }
}

Aucune

La méthode d’authentification « none » est utile pour désactiver l’authentification sur un endpoint spécifique après avoir défini une valeur par défaut dans docs.json.
---
title: "Your page title"
authMethod: "none"
---