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/listRequête
| Champ | Type | Requis | Description |
|---|---|---|---|
apiKey | string | Oui | Clé 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/createRequête
| Champ | Type | Requis | Description |
|---|---|---|---|
apiKey | string | Oui | Clé API |
fileUrl | string | Oui | URL du fichier média |
fileType | string | Non | Type: image ou video (défaut: image) |
title | string | Non | Titre de l’écran |
description | string | Non | Description |
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}Requête
| Champ | Type | Requis | Description |
|---|---|---|---|
apiKey | string | Oui | Clé 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}/editRequête
| Champ | Type | Requis | Description |
|---|---|---|---|
apiKey | string | Oui | Clé API |
fileUrl | string | Non | Nouvelle URL du fichier |
fileType | string | Non | Nouveau type de fichier |
title | string | Non | Nouveau titre |
description | string | Non | Nouvelle 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}/deleteRequête
| Champ | Type | Requis | Description |
|---|---|---|---|
apiKey | string | Oui | Clé 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