프로젝트

일반

사용자정보

GetStatisticsList » 이력 » 버전 5

이름없음, 2021/06/10 05:33

1 2 이름없음
h2(#wiki-id-LdpServerStatisticsResolver-getStatisticsList). *GetStatisticsList*
2 1 이름없음
3 5 이름없음
* 모든 Proposal에 대한 통계 결과를 조회합니다
4 1 이름없음
5 4 이름없음
<pre><code class="c">
6
getStatisticsDetail(
7
detailRequest: DetailRequest
8
): ProposalStatistics
9
</code></pre>
10
11 1 이름없음
*Request *
12
13 2 이름없음
|_. field |_. type |_. description |_. note |
14 1 이름없음
| did | String | 사용자 did |   |
15 3 이름없음
| command | String | 요청에대한 Command 종류 | 값: listStatistics |
16 1 이름없음
17 2 이름없음
p(wiki-class-auto-cursor-target). *ListResponse*
18 1 이름없음
19 2 이름없음
|_. field |_. type |_. description |_. note |
20 1 이름없음
| list | List<ProposalStatistics>  | Proposal에 대한 통계 결과 리스트 |   |
21
22 2 이름없음
p(wiki-class-auto-cursor-target). *proposalStatistics*
23 1 이름없음
24 2 이름없음
|_. field |_. type |_. description |_. note |
25 1 이름없음
| proposalId | String |   |   |
26
| statistics | String |   |   |
27
28
---
29
30 2 이름없음
p(wiki-class-auto-cursor-target). *Request Example*
31 1 이름없음
32
<pre><code class="c">
33
query {
34 2 이름없음
  getStatisticsList(baseRequest : {
35
    command : "detailStatistics" 
36
    did : "NfoPEFaG1adkCpijR85L66" 
37 1 이름없음
  }) {
38
    list {
39
      proposalId
40
       statistics {
41
      ageGroup {
42
        errorRate {
43
          maximum
44
          mean
45
          median
46
          q1
47
          q3
48
          std
49
        }
50
        estimated
51
        responseCount
52
      }
53
    }
54
    }
55
  }
56
}
57
</code></pre>
58
59
*Response Example*
60
61
<pre><code class="java">
62
"data": {
63
    "getList": {
64
      "list": [
65
        {
66
          "proposalId": "orPxmv15e2oSPufT3TkeTTfbB49TVM71Re4jX96JJv61GKvSkpkRAn8kGdDtfpdAcpgWZaAAdHFbbsbUAvapgYkEgGsWCzXJZ9c7oFHAu4uRpAyPP",
67
          "statistics": {
68
            "ageGroup": {
69
              "errorRate": {
70
                "maximum": "0.0296",
71
                "mean": "0.0108",
72
                "median": "0.0085",
73
                "q1": "0.0046",
74
                "q3": "0.0151",
75 2 이름없음
                "std": "0.0075" 
76 1 이름없음
              },
77
              "estimated": [
78
                0.28335086,
79
                0.05357143,
80
                0.2964811,
81
                0.21769957,
82
                0.110031515
83
              ],
84
              "responseCount": 1000
85
            }
86
          }
87
        },
88
        {
89
          "proposalId": "orPxmv15e2oSPufT3TkdJLyGr9BLYQrcyGYgoJ7Sucpd3MnBM5E17pEjA2yNJo855iW1zUf4NVJpvZe3BCWBeNLcHCh4GCRYKHwcrpPMT4kqBb5Ln",
90
          "statistics": {
91
            "ageGroup": {
92
              "errorRate": {
93
                "maximum": "0.0296",
94
                "mean": "0.0108",
95
                "median": "0.0085",
96
                "q1": "0.0046",
97
                "q3": "0.0151",
98 2 이름없음
                "std": "0.0075" 
99 1 이름없음
              },
100
              "estimated": [
101
                0.2754727,
102
                0.16255252,
103
                0.094275214,
104
                0.22689076,
105
                0.2859769
106
              ],
107
              "responseCount": 1000
108
            }
109
          }
110
        },
111
.........
112
</code></pre>
클립보드 이미지 추가 (최대 크기: 97.7 MB)