프로젝트

일반

사용자정보

GetStatisticsList » 이력 » 버전 6

이름없음, 2021/06/10 06:14

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