프로젝트

일반

사용자정보

GetStatisticsDetail » 이력 » 버전 2

이름없음, 2021/06/03 06:46

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