Actions
RegisterPush¶
FCM 푸시 메시지를 등록합니다.
registerPush(
messageRequest: MessageRegisterPushRequest
): CommandResponse
MessageRegisterPushRequest
| field | type | description | note |
| command | String | 요청 Command 유형 | 값: registerPush |
| did | String | user의 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" } } }
이름없음이(가) 약 2년 전에 변경 · 1 revisions