Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Side by Side Diff: pkg/analysis_server/tool/spec/spec_input.html

Issue 2922603002: Add an analytics domain to the analysis server. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="UTF-8"/> 4 <meta charset="UTF-8"/>
5 <title>Analysis Server API Specification</title> 5 <title>Analysis Server API Specification</title>
6 </head> 6 </head>
7 <body> 7 <body>
8 <h1>Analysis Server API Specification</h1> 8 <h1>Analysis Server API Specification</h1>
9 <h1 style="color:#999999">Version 9 <h1 style="color:#999999">Version
10 <version>1.18.1</version> 10 <version>1.18.1</version>
(...skipping 2194 matching lines...) Expand 10 before | Expand all | Expand 10 after
2205 this call will return an error of <tt>DEBUG_PORT_COULD_NOT_BE_OPENED</tt>. 2205 this call will return an error of <tt>DEBUG_PORT_COULD_NOT_BE_OPENED</tt>.
2206 </p> 2206 </p>
2207 <result> 2207 <result>
2208 <field name="port"> 2208 <field name="port">
2209 <ref>int</ref> 2209 <ref>int</ref>
2210 <p>The diagnostic server port.</p> 2210 <p>The diagnostic server port.</p>
2211 </field> 2211 </field>
2212 </result> 2212 </result>
2213 </request> 2213 </request>
2214 </domain> 2214 </domain>
2215 <domain name="analytics" experimental="true">
2216 <p>
2217 The analytics domain contains APIs related to analytics and usage reporting.
Brian Wilkerson 2017/06/02 15:57:31 "and"? Makes it sound like analytics reporting and
devoncarew 2017/06/02 20:17:03 Updated with some verbiage.
2218 </p>
2219 <request method="isEnabled">
2220 <p>Query whether analytics is enabled.</p>
2221 <result>
2222 <field name="enabled">
2223 <ref>bool</ref>
2224 <p>Whether sending analytics is enabled or not.</p>
Brian Wilkerson 2017/06/02 15:57:31 tl;dr spec docs should be complete, not terse I t
2225 </field>
2226 </result>
2227 </request>
2228 <request method="enable">
2229 <p>Enable or disable sending analytics information.</p>
2230 <params>
2231 <field name="value">
2232 <ref>bool</ref>
2233 <p>Enable or disable analytics.</p>
Brian Wilkerson 2017/06/02 15:57:31 Perhaps something like ----- Enable or disable th
2234 </field>
2235 </params>
2236 </request>
2237 <request method="sendEvent">
2238 <p>Send information about client events.</p>
Brian Wilkerson 2017/06/02 15:57:31 Perhaps we can be more specific. ----- Ask the an
2239 <params>
2240 <field name="action">
2241 <ref>String</ref>
2242 <p>The client action name.</p>
Brian Wilkerson 2017/06/02 15:57:31 For consistency with the changes above, perhaps -
2243 </field>
2244 </params>
2245 </request>
2246 <request method="sendTiming">
2247 <p>Send timing information for client events (e.g. code completions).</p>
Brian Wilkerson 2017/06/02 15:57:30 Needs similar work.
2248 <params>
2249 <field name="variable">
Brian Wilkerson 2017/06/02 15:57:31 Should we keep the name from the underlying API, o
devoncarew 2017/06/02 20:17:03 'variable' is what it's called in the google analy
2250 <ref>String</ref>
2251 <p>The variable name for the event.</p>
2252 </field>
2253 <field name="millis">
2254 <ref>int</ref>
2255 <p>The duration of the event in milliseconds.</p>
2256 </field>
2257 </params>
2258 </request>
2259 </domain>
2215 <types> 2260 <types>
2216 <h2 class="domain"><a name="types">Types</a></h2> 2261 <h2 class="domain"><a name="types">Types</a></h2>
2217 <p> 2262 <p>
2218 This section contains descriptions of the data types referenced 2263 This section contains descriptions of the data types referenced
2219 in the API’s of the various domains. 2264 in the API’s of the various domains.
2220 </p> 2265 </p>
2221 <include path="../../../analyzer_plugin/tool/spec/common_types_spec.html" 2266 <include path="../../../analyzer_plugin/tool/spec/common_types_spec.html"
2222 import="package:analyzer_plugin/protocol/protocol_common.dart"></incl ude> 2267 import="package:analyzer_plugin/protocol/protocol_common.dart"></incl ude>
2223 <type name="AnalysisErrorFixes"> 2268 <type name="AnalysisErrorFixes">
2224 <p> 2269 <p>
(...skipping 1266 matching lines...) Expand 10 before | Expand all | Expand 10 after
3491 This section contains a list of all of the errors that are 3536 This section contains a list of all of the errors that are
3492 produced by the server and the data that is returned with each. 3537 produced by the server and the data that is returned with each.
3493 </p> 3538 </p>
3494 <p> 3539 <p>
3495 TODO: TBD 3540 TODO: TBD
3496 </p> 3541 </p>
3497 <h2 class="domain"><a name="index">Index</a></h2> 3542 <h2 class="domain"><a name="index">Index</a></h2>
3498 <index></index> 3543 <index></index>
3499 </body> 3544 </body>
3500 </html> 3545 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698