Ressource : TaskPushNotificationConfig
Conteneur associant une configuration de notification push à une tâche spécifique.
| Représentation JSON |
|---|
{
"tenant": string,
"id": string,
"taskId": string,
"url": string,
"token": string,
"authentication": {
object ( |
| Champs | |
|---|---|
tenant |
Facultatif. ID du locataire. |
id |
Détails de la configuration des notifications push. Identifiant unique (par exemple, UUID) pour cette configuration de notification push. |
taskId |
ID de la tâche à laquelle cette configuration est associée. |
url |
Obligatoire. URL à laquelle la notification doit être envoyée. |
token |
Jeton unique pour cette tâche ou session. |
authentication |
Informations d'authentification requises pour envoyer la notification. |
AuthenticationInfo
Définit les informations d'authentification utilisées pour les notifications push.
| Représentation JSON |
|---|
{ "scheme": string, "credentials": string } |
| Champs | |
|---|---|
scheme |
Obligatoire. Schéma d'authentification HTTP du registre IANA. Exemples : |
credentials |
Identifiants de notification push. Le format dépend du schéma (par exemple, jeton pour le porteur). |
Méthodes |
|
|---|---|
|
Crée une configuration de notification push pour une tâche. |
|
Supprime une configuration de notification push pour une tâche. |
|
Obtient une configuration de notification push pour une tâche. |
|
Obtenez la liste des notifications push configurées pour une tâche. |