GetStatisticsList » 이력 » 버전 2
이름없음, 2021/06/09 08:35
1 | 2 | 이름없음 | h2(#wiki-id-LdpServerStatisticsResolver-getStatisticsList). *GetStatisticsList* |
---|---|---|---|
2 | 1 | 이름없음 | |
3 | * 모든 Proposal에 대한 통계 결과를 조회 |
||
4 | |||
5 | *Request * |
||
6 | |||
7 | 2 | 이름없음 | |_. field |_. type |_. description |_. note | |
8 | 1 | 이름없음 | | did | String | 사용자 did | | |
9 | | command | String | 요청에대한 Command 종류 | | |
||
10 | |||
11 | 2 | 이름없음 | p(wiki-class-auto-cursor-target). *ListResponse* |
12 | 1 | 이름없음 | |
13 | 2 | 이름없음 | |_. field |_. type |_. description |_. note | |
14 | 1 | 이름없음 | | list | List<ProposalStatistics> | Proposal에 대한 통계 결과 리스트 | | |
15 | |||
16 | 2 | 이름없음 | p(wiki-class-auto-cursor-target). *proposalStatistics* |
17 | 1 | 이름없음 | |
18 | 2 | 이름없음 | |_. field |_. type |_. description |_. note | |
19 | 1 | 이름없음 | | proposalId | String | | | |
20 | | statistics | String | | | |
||
21 | |||
22 | --- |
||
23 | |||
24 | 2 | 이름없음 | p(wiki-class-auto-cursor-target). *Request Example* |
25 | 1 | 이름없음 | |
26 | <pre><code class="c"> |
||
27 | query { |
||
28 | 2 | 이름없음 | getStatisticsList(baseRequest : { |
29 | command : "detailStatistics" |
||
30 | did : "NfoPEFaG1adkCpijR85L66" |
||
31 | 1 | 이름없음 | }) { |
32 | list { |
||
33 | proposalId |
||
34 | statistics { |
||
35 | ageGroup { |
||
36 | errorRate { |
||
37 | maximum |
||
38 | mean |
||
39 | median |
||
40 | q1 |
||
41 | q3 |
||
42 | std |
||
43 | } |
||
44 | estimated |
||
45 | responseCount |
||
46 | } |
||
47 | } |
||
48 | } |
||
49 | } |
||
50 | } |
||
51 | </code></pre> |
||
52 | |||
53 | *Response Example* |
||
54 | |||
55 | <pre><code class="java"> |
||
56 | "data": { |
||
57 | "getList": { |
||
58 | "list": [ |
||
59 | { |
||
60 | "proposalId": "orPxmv15e2oSPufT3TkeTTfbB49TVM71Re4jX96JJv61GKvSkpkRAn8kGdDtfpdAcpgWZaAAdHFbbsbUAvapgYkEgGsWCzXJZ9c7oFHAu4uRpAyPP", |
||
61 | "statistics": { |
||
62 | "ageGroup": { |
||
63 | "errorRate": { |
||
64 | "maximum": "0.0296", |
||
65 | "mean": "0.0108", |
||
66 | "median": "0.0085", |
||
67 | "q1": "0.0046", |
||
68 | "q3": "0.0151", |
||
69 | 2 | 이름없음 | "std": "0.0075" |
70 | 1 | 이름없음 | }, |
71 | "estimated": [ |
||
72 | 0.28335086, |
||
73 | 0.05357143, |
||
74 | 0.2964811, |
||
75 | 0.21769957, |
||
76 | 0.110031515 |
||
77 | ], |
||
78 | "responseCount": 1000 |
||
79 | } |
||
80 | } |
||
81 | }, |
||
82 | { |
||
83 | "proposalId": "orPxmv15e2oSPufT3TkdJLyGr9BLYQrcyGYgoJ7Sucpd3MnBM5E17pEjA2yNJo855iW1zUf4NVJpvZe3BCWBeNLcHCh4GCRYKHwcrpPMT4kqBb5Ln", |
||
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.2754727, |
||
96 | 0.16255252, |
||
97 | 0.094275214, |
||
98 | 0.22689076, |
||
99 | 0.2859769 |
||
100 | ], |
||
101 | "responseCount": 1000 |
||
102 | } |
||
103 | } |
||
104 | }, |
||
105 | ......... |
||
106 | </code></pre> |