프로젝트

일반

사용자정보

GetStatisticsList » 이력 » 개정판 2

개정판 1 (이름없음, 2021/06/03 06:38) → 개정판 2/8 (이름없음, 2021/06/09 08:35)

h2(#wiki-id-LdpServerStatisticsResolver-getStatisticsList). *GetStatisticsList* h2(#LdpServerStatisticsResolver-getStatisticsList). *getStatisticsList* 

 * 모든 Proposal에 대한 통계 결과를 조회 

 *Request * 

 |_. field 
  |_. type 
  |_. description 
  |_. note 
  | 
 | did | String | 사용자 did |   | 
 | command | String | 요청에대한 Command 종류 |   | 

 p(wiki-class-auto-cursor-target). p(auto-cursor-target). *ListResponse* 

 |_. field 
  |_. type 
  |_. description 
  |_. note 
  | 
 | list | List<ProposalStatistics>  | Proposal에 대한 통계 결과 리스트 |   | 

 p(wiki-class-auto-cursor-target). p(auto-cursor-target). *proposalStatistics* 

 |_. field 
  |_. type 
  |_. description 
  |_. note 
  | 
 | proposalId | String |   |   | 
 | statistics | String |   |   | 

 --- 

 p(wiki-class-auto-cursor-target). p(auto-cursor-target). *Request Example* 

 <pre><code class="c"> 
 query { 
   getStatisticsList(baseRequest getList(baseRequest : { 
     command : "detailStatistics"  
     
     did : "NfoPEFaG1adkCpijR85L66"  
   
   }) { 
     list { 
       proposalId 
        statistics { 
       ageGroup { 
         errorRate { 
           maximum 
           mean 
           median 
           q1 
           q3 
           std 
         } 
         estimated 
         responseCount 
       } 
     } 
     } 
   } 
 } 
 </code></pre> 

 *Response Example* 

 <pre><code class="java"> 
 "data": { 
     "getList": { 
       "list": [ 
         { 
           "proposalId": "orPxmv15e2oSPufT3TkeTTfbB49TVM71Re4jX96JJv61GKvSkpkRAn8kGdDtfpdAcpgWZaAAdHFbbsbUAvapgYkEgGsWCzXJZ9c7oFHAu4uRpAyPP", 
           "statistics": { 
             "ageGroup": { 
               "errorRate": { 
                 "maximum": "0.0296", 
                 "mean": "0.0108", 
                 "median": "0.0085", 
                 "q1": "0.0046", 
                 "q3": "0.0151", 
                 "std": "0.0075"  
               
               }, 
               "estimated": [ 
                 0.28335086, 
                 0.05357143, 
                 0.2964811, 
                 0.21769957, 
                 0.110031515 
               ], 
               "responseCount": 1000 
             } 
           } 
         }, 
         { 
           "proposalId": "orPxmv15e2oSPufT3TkdJLyGr9BLYQrcyGYgoJ7Sucpd3MnBM5E17pEjA2yNJo855iW1zUf4NVJpvZe3BCWBeNLcHCh4GCRYKHwcrpPMT4kqBb5Ln", 
           "statistics": { 
             "ageGroup": { 
               "errorRate": { 
                 "maximum": "0.0296", 
                 "mean": "0.0108", 
                 "median": "0.0085", 
                 "q1": "0.0046", 
                 "q3": "0.0151", 
                 "std": "0.0075"  
               
               }, 
               "estimated": [ 
                 0.2754727, 
                 0.16255252, 
                 0.094275214, 
                 0.22689076, 
                 0.2859769 
               ], 
               "responseCount": 1000 
             } 
           } 
         }, 
 ......... 
 </code></pre>
클립보드 이미지 추가 (최대 크기: 97.7 MB)