프로젝트

일반

사용자정보

PutStatisticsData » 이력 » 버전 2

이름없음, 2021/08/17 02:51

1 1 이름없음
h1. PutStatisticsData
2 2 이름없음
3
<pre><code class="c">
4
putStatisticsData(
5
statisticsPutRequest: StatisticsPutRequest
6
): StatisticsPutResponse
7
</code></pre>
8
9
---
10
11
*Request*
12
13
|_. field |_. type |_. description |_. note |
14
| did | String | 사용자 did |   |
15
| command | String | 요청에대한 Command 종류 | 값: putStatistics |
16
| data | String |   |   |
17
18
*StatisticsPutResponse*
19
20
|_. field |_. type |_. description |_. note |
21
| command | String | 요청에대한 Command 종류 | 값:putStatistics |
22
| result | String |   |   |
23
24
---
25
26
*Request Example*
27
28
<pre><code class="c">
29
mutation {
30
    put(statisticsPutRequest: {
31
        did: "G5rw9qAMbozGxySHkMaztD"
32
        command: "putStatistics"
33
        payload: "{\"gender\":0,\"ageGroup\":4,\"finalDegree\":3}"
34
    }) {
35
        command
36
        result
37
    }
38
}
39
</code></pre>
40
41
*Response Example*
42
43
<pre><code class="c">
44
{
45
    "data": {
46
        "put": {
47
            "command": "putStatistics"
48
            "result": "CREATED"
49
        }
50
    }
51
}
52
</code></pre>
클립보드 이미지 추가 (최대 크기: 97.7 MB)