| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <meta charset="UTF-8"/> | 3 <meta charset="UTF-8"/> |
| 4 <title>Analysis Server API Specification</title> | 4 <title>Analysis Server API Specification</title> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 <h1>Analysis Server API Specification</h1> | 7 <h1>Analysis Server API Specification</h1> |
| 8 <h1 style="color:#999999">WORKING DRAFT - Version <version>0.3</version></h1
> | 8 <h1 style="color:#999999">WORKING DRAFT - Version <version>0.3</version></h1
> |
| 9 <p> | 9 <p> |
| 10 This document contains a specification of the API provided by | 10 This document contains a specification of the API provided by |
| (...skipping 1620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1631 <p> | 1631 <p> |
| 1632 The edits are applied in the order in which they occur in the list. | 1632 The edits are applied in the order in which they occur in the list. |
| 1633 This means that the offset of each edit must be correct under the | 1633 This means that the offset of each edit must be correct under the |
| 1634 assumption that all previous edits have been applied. | 1634 assumption that all previous edits have been applied. |
| 1635 </p> | 1635 </p> |
| 1636 <p> | 1636 <p> |
| 1637 It is an error to use this overlay on a file that does not yet have | 1637 It is an error to use this overlay on a file that does not yet have |
| 1638 a file content overlay or that has had its overlay removed via | 1638 a file content overlay or that has had its overlay removed via |
| 1639 <a href="#type_RemoveContentOverlay">RemoveContentOverlay</a>. | 1639 <a href="#type_RemoveContentOverlay">RemoveContentOverlay</a>. |
| 1640 </p> | 1640 </p> |
| 1641 <p> |
| 1642 If any of the edits cannot be applied due to its offset or |
| 1643 length being out of range, an INVALID_OVERLAY_CHANGE error |
| 1644 will be reported. |
| 1645 </p> |
| 1641 <object> | 1646 <object> |
| 1642 <field name="type" value="change"><ref>String</ref></field> | 1647 <field name="type" value="change"><ref>String</ref></field> |
| 1643 <field name="edits"> | 1648 <field name="edits"> |
| 1644 <list><ref>SourceEdit</ref></list> | 1649 <list><ref>SourceEdit</ref></list> |
| 1645 <p> | 1650 <p> |
| 1646 The edits to be applied to the file. | 1651 The edits to be applied to the file. |
| 1647 </p> | 1652 </p> |
| 1648 </field> | 1653 </field> |
| 1649 </object> | 1654 </object> |
| 1650 </type> | 1655 </type> |
| (...skipping 957 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2608 <enum> | 2613 <enum> |
| 2609 <value> | 2614 <value> |
| 2610 <code>GET_ERRORS_INVALID_FILE</code> | 2615 <code>GET_ERRORS_INVALID_FILE</code> |
| 2611 <p> | 2616 <p> |
| 2612 An "analysis.getErrors" request specified a FilePath | 2617 An "analysis.getErrors" request specified a FilePath |
| 2613 which does not match a file currently subject to | 2618 which does not match a file currently subject to |
| 2614 analysis. | 2619 analysis. |
| 2615 </p> | 2620 </p> |
| 2616 </value> | 2621 </value> |
| 2617 <value> | 2622 <value> |
| 2623 <code>INVALID_OVERLAY_CHANGE</code> |
| 2624 <p> |
| 2625 An analysis.updateContent request contained a |
| 2626 ChangeContentOverlay object which can't be applied, due |
| 2627 to an edit having an offset or length that is out of |
| 2628 range. |
| 2629 </p> |
| 2630 </value> |
| 2631 <value> |
| 2618 <code>INVALID_PARAMETER</code> | 2632 <code>INVALID_PARAMETER</code> |
| 2619 <p> | 2633 <p> |
| 2620 One of the method parameters was invalid. | 2634 One of the method parameters was invalid. |
| 2621 </p> | 2635 </p> |
| 2622 </value> | 2636 </value> |
| 2623 <value> | 2637 <value> |
| 2624 <code>INVALID_REQUEST</code> | 2638 <code>INVALID_REQUEST</code> |
| 2625 <p> | 2639 <p> |
| 2626 A malformed request was received. | 2640 A malformed request was received. |
| 2627 </p> | 2641 </p> |
| (...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3236 <h2>Errors</h2> | 3250 <h2>Errors</h2> |
| 3237 <p> | 3251 <p> |
| 3238 This section contains a list of all of the errors that are | 3252 This section contains a list of all of the errors that are |
| 3239 produced by the server and the data that is returned with each. | 3253 produced by the server and the data that is returned with each. |
| 3240 </p> | 3254 </p> |
| 3241 <p> | 3255 <p> |
| 3242 TBD | 3256 TBD |
| 3243 </p> | 3257 </p> |
| 3244 </body> | 3258 </body> |
| 3245 </html> | 3259 </html> |
| OLD | NEW |