Actions
RegisterPush » 이력 » 개정판 7
« 뒤로 |
개정판 7/10
(비교(diff))
| 다음 »
이름없음, 2021/06/10 06:00
RegisterPush¶
FCM 푸시 메시지를 등록합니다.
registerPush(
messageRequest: MessageRegisterPushRequest
): CommandResponse
MessageRegisterPushRequest
| field | type | description | note |
| command | String | 요청 Command 유형 | 값: registerPush |
| did | String | snplab의 did | |
| token | String | 유저의 FCM 토큰 |
CommandResponse
| field | type | description | note |
| command | String | 요청Command 유형 | 값: registerPush |
Request Example
mutation{
registerPush(messageRequest:{
did:"G5rw9qAMbozGxySHkMaztD"
command:"registerPush"
token:"cyw-t50FTbidNTOxVHqUfa:APA91bEC3jwQHvSxJoEl3gqn4kGKDE5pXUu5EK4EpAMKSP1yHVaBXcMYojBvtikPS5Pa-DgSvnMK77EW_xfe0nn23BtUJA7UpKUHmUIsjTg1gmCjRKHK26rwCXEyHGQG3SQIcdjYJ--P"
}){
command
}
}
Response Example
{ "data": { "registerPush": { "command": "registerPush" } } }
이름없음이(가) 4년 이상 전에 변경 · 7 revisions