프로젝트

일반

사용자정보

GetStatisticsDetail » 이력 » 버전 5

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

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