Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 <version>1.17.0</version></h1> | 9 <h1 style="color:#999999">Version <version>1.17.0</version></h1> |
|
Brian Wilkerson
2017/02/18 21:41:03
We need to increment the version number (to 1.18.0
devoncarew
2017/02/19 02:43:05
Updated to 1.8.0. Do we have a notion of a pre-rel
| |
| 10 <p> | 10 <p> |
| 11 This document contains a specification of the API provided by the | 11 This document contains a specification of the API provided by the |
| 12 analysis server. The API in this document is currently under | 12 analysis server. The API in this document is currently under |
| 13 development. Changes to the API will be accompanied by an update to the | 13 development. Changes to the API will be accompanied by an update to the |
| 14 protocol version number according to the principles of semantic | 14 protocol version number according to the principles of semantic |
| 15 versioning (<a href="http://semver.org/">semver.org</a>). | 15 versioning (<a href="http://semver.org/">semver.org</a>). |
| 16 </p> | 16 </p> |
| 17 <h2>Overview</h2> | 17 <h2>Overview</h2> |
| 18 <p> | 18 <p> |
| 19 The analysis server API is a bi-directional client-server | 19 The analysis server API is a bi-directional client-server |
| (...skipping 2022 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2042 </p> | 2042 </p> |
| 2043 <request method="getDiagnostics"> | 2043 <request method="getDiagnostics"> |
| 2044 <p>Return server diagnostics.</p> | 2044 <p>Return server diagnostics.</p> |
| 2045 <result> | 2045 <result> |
| 2046 <field name="contexts"> | 2046 <field name="contexts"> |
| 2047 <list><ref>ContextData</ref></list> | 2047 <list><ref>ContextData</ref></list> |
| 2048 <p>The list of analysis contexts.</p> | 2048 <p>The list of analysis contexts.</p> |
| 2049 </field> | 2049 </field> |
| 2050 </result> | 2050 </result> |
| 2051 </request> | 2051 </request> |
| 2052 <request method="getServerPort"> | |
| 2053 <p> | |
| 2054 Return the port of the diagnostic web server. If the server is not run ning | |
| 2055 this call will start the server. If unable to start the diagnostic web server, | |
| 2056 this call will return an error of ERROR_HANDLING_REQUEST. | |
| 2057 </p> | |
| 2058 <result> | |
| 2059 <field name="port"> | |
| 2060 <ref>int</ref> | |
| 2061 <p>The diagnostic server port.</p> | |
| 2062 </field> | |
| 2063 </result> | |
| 2064 </request> | |
| 2052 </domain> | 2065 </domain> |
| 2053 <types> | 2066 <types> |
| 2054 <h2 class="domain"><a name="types">Types</a></h2> | 2067 <h2 class="domain"><a name="types">Types</a></h2> |
| 2055 <p> | 2068 <p> |
| 2056 This section contains descriptions of the data types referenced | 2069 This section contains descriptions of the data types referenced |
| 2057 in the API’s of the various domains. | 2070 in the API’s of the various domains. |
| 2058 </p> | 2071 </p> |
| 2059 <type name="AddContentOverlay"> | 2072 <type name="AddContentOverlay"> |
| 2060 <p> | 2073 <p> |
| 2061 A directive to begin overlaying the contents of a file. The | 2074 A directive to begin overlaying the contents of a file. The |
| (...skipping 1771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3833 </p> | 3846 </p> |
| 3834 </value> | 3847 </value> |
| 3835 <value> | 3848 <value> |
| 3836 <code>REFACTORING_REQUEST_CANCELLED</code> | 3849 <code>REFACTORING_REQUEST_CANCELLED</code> |
| 3837 <p> | 3850 <p> |
| 3838 Another refactoring request was received during processing of | 3851 Another refactoring request was received during processing of |
| 3839 this one. | 3852 this one. |
| 3840 </p> | 3853 </p> |
| 3841 </value> | 3854 </value> |
| 3842 <value> | 3855 <value> |
| 3856 <code>ERROR_HANDLING_REQUEST</code> | |
|
Brian Wilkerson
2017/02/18 21:41:03
This is too general; all existing and future error
devoncarew
2017/02/19 02:43:05
:) It did seem a bit general when I was writing it
| |
| 3857 <p> | |
| 3858 The server was unable to handle the request. | |
| 3859 </p> | |
| 3860 </value> | |
| 3861 <value> | |
| 3843 <code>SERVER_ALREADY_STARTED</code> | 3862 <code>SERVER_ALREADY_STARTED</code> |
| 3844 <p> | 3863 <p> |
| 3845 The analysis server has already been started (and hence | 3864 The analysis server has already been started (and hence |
| 3846 won't accept new connections). | 3865 won't accept new connections). |
| 3847 </p> | 3866 </p> |
| 3848 <p> | 3867 <p> |
| 3849 This error is included for future expansion; at present | 3868 This error is included for future expansion; at present |
| 3850 the analysis server can only speak to one client at a | 3869 the analysis server can only speak to one client at a |
| 3851 time so this error will never occur. | 3870 time so this error will never occur. |
| 3852 </p> | 3871 </p> |
| (...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4564 This section contains a list of all of the errors that are | 4583 This section contains a list of all of the errors that are |
| 4565 produced by the server and the data that is returned with each. | 4584 produced by the server and the data that is returned with each. |
| 4566 </p> | 4585 </p> |
| 4567 <p> | 4586 <p> |
| 4568 TODO: TBD | 4587 TODO: TBD |
| 4569 </p> | 4588 </p> |
| 4570 <h2 class="domain"><a name="index">Index</a></h2> | 4589 <h2 class="domain"><a name="index">Index</a></h2> |
| 4571 <index></index> | 4590 <index></index> |
| 4572 </body> | 4591 </body> |
| 4573 </html> | 4592 </html> |
| OLD | NEW |