프로젝트

일반

사용자정보

GetStatisticsDetail » 이력 » 버전 7

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

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