Token
FCMTokenPayload :
Parameter | Type | Required(*) | Description |
---|---|---|---|
device_token | string | * | |
installation_id | string |
Example
{
"device_token": "eH0fLhuiRj2Np7UQ-opXAm:APA91bGtC-wH4sgW1jWkMKIZf7FYkm_RTQb7Jid7DfSJnCgivGYoRzhLrGxpcIF6yPjmbzAr6CKF-6phZkBasFUUfZmfdgcqfA_ZlZdVk6pSnon3LGzMumCzEJE0zgWoo_RUmVUVJUAt",
"installation_id": "development"
}
Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"device_token": {
"minLength": 64,
"type": "string"
},
"installation_id": {
"enum": [
"development",
"production"
],
"type": "string"
}
},
"required": [
"device_token"
],
"type": "object"
}