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