Update an app integration push notification
The id of the app integration push notification.
The brand URL of the request. This is used to identify the brand.
YOUR_BRAND_URL
Auth-Key is required to authenticate the request. If missing, the server will return 401 Unauthorized.
YOUR_AUTH_KEY
The request data transfer object for the push notification integration when updating.
The app integration provider ID of the push notification.
The code of the push notification.
The name of the push notification.
The project ID of the push notification.
The client email of the push notification.
The client ID of the push notification.
The private key of the push notification.
The authentication URL of the push notification.
The token URL of the push notification.
The authentication provider X509 certificate URL of the push notification.
The client X509 certificate URL of the push notification.
The universe domain of the push notification.
The API key of the push notification.
The authentication domain of the push notification.
The storage bucket of the push notification.
The messaging sender ID of the push notification.
The app ID of the push notification. Use projectId instead if using Firebase service.
The measurement ID of the push notification.
The VAPID key of the push notification.
Flag to indicate if the push notification integration is the default. Default is false.
This enum is used to define the common status of an object in JFW.
Supported values:
The request was successful.
The user is not authorized to access the requested resource. The request is missing the required Auth-Key header.
The user's access was denied.
API call exceeded rate limit due to too many requests.
PUT /api/v1/app-integrations/push-notification/{id} HTTP/1.1
Host: protocol.jframework.io
Brand-URL: text
Auth-Key: text
Content-Type: application/json
Accept: */*
Content-Length: 491
{
"appIntegrationId": "text",
"code": "text",
"name": "text",
"projectId": "text",
"clientEmail": "text",
"clientId": "text",
"privateKey": "text",
"authURL": "https://example.com",
"tokenURL": "https://example.com",
"authProviderX509CertURL": "https://example.com",
"clientX509CertURL": "https://example.com",
"universeDomain": "text",
"apiKey": "text",
"authDomain": "text",
"storageBucket": "text",
"messagingSenderId": "text",
"appId": "text",
"measurementId": "text",
"vapidKey": "text",
"isDefault": true,
"status": "Inactive"
}
{
"success": true,
"statusCode": 200,
"message": "The request was successful.",
"data": [
{
"appIntegration": {
"type": "PaymentGateway",
"name": "Stripe",
"domain": "https://stripe.com",
"description": "Stripe payment gateway",
"logoURL": null,
"status": "Active",
"id": "sApKpllz4sAplsmzha"
},
"status": "Active",
"isDefault": false,
"vapidKey": "vapid-key",
"measurementId": "measurement-id",
"appId": "app-id",
"messagingSenderId": "messaging-sender-id",
"storageBucket": "storage-bucket",
"authDomain": "auth-domain",
"apiKey": "api-key",
"id": "sApKpllz4sAplsmzha",
"universeDomain": "universe-domain",
"authProviderX509CertURL": "auth-provider-x509-cert-url",
"tokenURL": "token-url",
"authURL": "auth-url",
"privateKey": "private-key",
"clientId": "client-id",
"clientEmail": "client-email",
"projectId": "project-id",
"name": "name",
"code": "code",
"clientX509CertURL": "client-x509-cert-url"
}
],
"errors": []
}
Last updated
Was this helpful?