프로젝트

일반

사용자정보

RegisterPush » 이력 » 버전 1

이름없음, 2024/01/17 12:18

1 1 이름없음
h1. RegisterPush
2
3
FCM 푸시 메시지를 등록합니다.
4
5
<pre><code class="java">
6
registerPush(
7
messageRequest: MessageRegisterPushRequest
8
): CommandResponse
9
</code></pre>
10
11
*%{color: #000000;}MessageRegisterPushRequest%*
12
13
| %{color: #000000;}field% | %{color: #000000;}type% | %{color: #000000;}description% | %{color: #000000;}note% |
14
| %{color: #000000;}command% | %{color: #000000;}String% | %{color: #000000;}요청 Command 유형% | %{color: #000000;}값: registerPush%<notextile></notextile> |
15
| %{color: #000000;}did% | %{color: #000000;}String% | %{color: #000000;}user의 did% | %{color: #000000;} % |
16
| token | %{color: #000000;}String% | 유저의 FCM 토큰 |   |
17
18
*%{color: #000000;}CommandResponse%*
19
20
| %{color: #000000;}field% | %{color: #000000;}type% | %{color: #000000;}description% | %{color: #000000;}note% |
21
| %{color: #000000;}command% | %{color: #000000;}String% | %{color: #000000;}요청Command 유형% | %{color: #000000;}값: registerPush%<notextile></notextile> |
22
23
---
24
25
*%{color: #000000;}Request Example%*
26
27
<pre>
28
mutation{
29
  registerPush(messageRequest:{
30
    did:"G5rw9qAMbozGxySHkMaztD" 
31
    command:"registerPush" 
32
    token:"cyw-t50FTbidNTOxVHqUfa:APA91bEC3jwQHvSxJoEl3gqn4kGKDE5pXUu5EK4EpAMKSP1yHVaBXcMYojBvtikPS5Pa-DgSvnMK77EW_xfe0nn23BtUJA7UpKUHmUIsjTg1gmCjRKHK26rwCXEyHGQG3SQIcdjYJ--P" 
33
  }){
34
    command
35
  }
36
}</pre>
37
38
*%{color: #000000;}Response Example%*
39
40
<pre>
41
{ "data": { "registerPush": { "command": "registerPush" } } }</pre>
클립보드 이미지 추가 (최대 크기: 97.7 MB)