Skip to Content
Nouvelle documentation Applite - JS SDK, Dart SDK & REST API
REST APIWelcome Items

API Welcome Items

Endpoints pour la gestion des écrans d’accueil et éléments de bienvenue.

SDK: client.app.welcomeItem

Endpoints

Lister les welcome items

Récupère tous les éléments d’accueil de l’application.

POST /app/{appId}/welcome-item/list
ChampTypeRequisDescription
apiKeystringOuiClé API
curl -X POST https://api.applite.ai/app/{appId}/welcome-item/list \ -H "Content-Type: application/json" \ -d '{ "apiKey": "your_api_key" }'

Créer un welcome item

Ajoute un nouvel élément d’accueil.

POST /app/{appId}/welcome-item/create
ChampTypeRequisDescription
apiKeystringOuiClé API
fileUrlstringOuiURL du fichier média
fileTypestringNonType: image ou video (défaut: image)
titlestringNonTitre de l’écran
descriptionstringNonDescription
curl -X POST https://api.applite.ai/app/{appId}/welcome-item/create \ -H "Content-Type: application/json" \ -d '{ "apiKey": "your_api_key", "fileUrl": "https://cdn.example.com/welcome3.png", "fileType": "image", "title": "Commencez maintenant", "description": "Créez votre premier produit" }'

Obtenir un welcome item

Récupère les détails d’un élément d’accueil.

POST /app/{appId}/welcome-item/{id}
ChampTypeRequisDescription
apiKeystringOuiClé API
curl -X POST https://api.applite.ai/app/{appId}/welcome-item/{itemId} \ -H "Content-Type: application/json" \ -d '{ "apiKey": "your_api_key" }'

Mettre à jour un welcome item

Modifie un élément d’accueil existant.

POST /app/{appId}/welcome-item/{id}/edit
ChampTypeRequisDescription
apiKeystringOuiClé API
fileUrlstringNonNouvelle URL du fichier
fileTypestringNonNouveau type de fichier
titlestringNonNouveau titre
descriptionstringNonNouvelle description
curl -X POST https://api.applite.ai/app/{appId}/welcome-item/{itemId}/edit \ -H "Content-Type: application/json" \ -d '{ "apiKey": "your_api_key", "title": "Nouveau titre", "description": "Nouvelle description" }'

Supprimer un welcome item

Supprime un élément d’accueil.

POST /app/{appId}/welcome-item/{id}/delete
ChampTypeRequisDescription
apiKeystringOuiClé API
curl -X POST https://api.applite.ai/app/{appId}/welcome-item/{itemId}/delete \ -H "Content-Type: application/json" \ -d '{ "apiKey": "your_api_key" }'
Last updated on