Update Config Resources
The Update Config Resources API updates the system configuration resources.
URL
The HTTP URL for Update Config Resources API is:
http://<host>:<port>/api/v1/config
This service implements Gateway Filter for Authentication to authenticate access of the service by a user.
Method
POST
Header
The payload's request header includes Content-Type as application/json
Header
The payload's request header includes Content-Type as application/json
Input Parameters
NOTE: All input parameter fields are required.
Sample Request
{ "encrypt.token" : "#KPNSRANDOMNUMBER", "apple.notification.keymanager.algorithm" : "sunx509", "smpp.request.expirationTime" : "60", "apple.feedback.server.port" : "2196", "http.idle.connection.timeout" : "30000", "smpp.nexmo.enquiretask.interval" : "20", "threadCount.minimum" : "1", "thread.ttl" : "5000", "http.max.connections" : "30", "apple.dev.feedback.server.host" : "feedback.sandbox.push.apple.com", "feedback.execution.hour" : "24", "apple.notification.trustmanager.algorithm" : "sunx509", "apple.dev.feedback.server.port" : "2196", "push.attempts.maximum" : "9", "blackberry.qualityofservice" : "UNCONFIRMED", "blackberry.acknowledgement.listener.port" : "8888", "apple.dev.notification.server.host" : "gateway.sandbox.push.apple.com", "apple.notification.keystore.type" : "PKCS12", "windows8.authentication.url" : "https://login.live.com/accesstoken.srf", "varchar.size" : "4000", "apple.notification.server.host" : "gateway.push.apple.com", "job.stalemessages.schedule" : "18000 ", "blackberry.notification.server.url" : "https://pushapi.eval.blackberry.com/mss/PD_pushRequest", "http.pool.max.threads" : "20", "push.character.encode" : "UTF-8", "http.connection.timeout" : "60000", "smpp.expirationtask.interval" : "60", "apple.feedback.server.host" : "feedback.push.apple.com", "threadCount.maximum" : "10", "monitor.schedule" : "15", "batchUpdate.size" : "500", "apple.notification.server.port" : "2195", "smpp.request.throttleDelay" : "10", "jpush.notification.test.server.url" : "https://api.jpush.cn/v3/push/validate", "android.notification.server.gcm.url" : "https://android.googleapis.com/gcm/send", "smpp.clickatell.enquiretask.interval" : "55", "jpush.notification.server.url" : "https://api.jpush.cn/v3/push", "audit.enabled" : "false", "apple.dev.notification.server.port" : "2195", "fetch.size" : "1500" }
Sample Response
{ "id" : "", "message" : "Details updated successfully" }
Response Status
Code | Description |
---|---|
Status 200 | Details updated successfully |
Status 400 | Invalid request format |
Status 401 | Unauthorized request |
Status 500 | Server failure to process request |