RegisterPush » 이력 » 개정판 2
개정판 1 (이름없음, 2021/06/04 05:10) → 개정판 2/10 (이름없음, 2021/06/04 05:42)
h1. RegisterPush
h2. %{color: #000000;}요청 필드%
<pre><code class="c">
registerPush(
messageRequest: MessageRegisterPushRequest
): CommandResponse
</code></pre>
*%{color: #000000;}SettlementRequest%*
| %{color: #000000;}field% | %{color: #000000;}type% | %{color: #000000;}description% |
| %{color: #000000;}command% | %{color: #000000;}String% | %{color: #000000;}요청 Command 유형 (값: "tnkSettlement")% |
| %{color: #000000;}did% | %{color: #000000;}String% | %{color: #000000;}snplab의 did% |
| token | %{color: #000000;}String% | %{color: #ff0000;}FCM 토큰% |
*%{color: #000000;}CommandResponse%*
| %{color: #000000;}field% | %{color: #000000;}type% | %{color: #000000;}description% |
| %{color: #000000;}command% | %{color: #000000;}String% | %{color: #000000;}요청Command 유형% |
*%{color: #000000;}요청 예시%*
<pre>
mutation{
registerPush(messageRequest:{
did:"G5rw9qAMbozGxySHkMaztD"
command:"registerPush"
token:"cyw-t50FTbidNTOxVHqUfa:APA91bEC3jwQHvSxJoEl3gqn4kGKDE5pXUu5EK4EpAMKSP1yHVaBXcMYojBvtikPS5Pa-DgSvnMK77EW_xfe0nn23BtUJA7UpKUHmUIsjTg1gmCjRKHK26rwCXEyHGQG3SQIcdjYJ--P"
}){
command
}
}</pre>
*%{color: #000000;}응답 예시%*
<pre>
{ "data": { "registerPush": { "command": "registerPush" } } }</pre>