Account confirmers, Anti-spam team, Confirmed users, Bureaucrats and Sysops emeriti
4,925
edits
(→Errors) |
No edit summary |
||
| Line 3: | Line 3: | ||
This page contains general information and preliminaries. Read it first. Then, you can find more detailed information: | This page contains general information and preliminaries. Read it first. Then, you can find more detailed information: | ||
* [https://wiki.mozilla.org/Bugzilla:REST_API: | * [https://wiki.mozilla.org/Bugzilla:REST_API:Methods API Methods] | ||
** [https://wiki.mozilla.org/Bugzilla:REST_API:Search Parameters for the Search | ** [https://wiki.mozilla.org/Bugzilla:REST_API:Search Parameters for the Search method] | ||
* [https://wiki.mozilla.org/Bugzilla:REST_API:Objects Objects sent and received] | * [https://wiki.mozilla.org/Bugzilla:REST_API:Objects Objects sent and received] | ||
** [https://wiki.mozilla.org/Bugzilla:REST_API:Objects:Configuration The Configuration object] | ** [https://wiki.mozilla.org/Bugzilla:REST_API:Objects:Configuration The Configuration object] | ||
| Line 28: | Line 28: | ||
===Version 0.3 (24th November 2009)=== | ===Version 0.3 (24th November 2009)=== | ||
* [https://wiki.mozilla.org/index.php?title=Bugzilla:REST_API&oldid=185367 Main page, including API | * [https://wiki.mozilla.org/index.php?title=Bugzilla:REST_API&oldid=185367 Main page, including API methods] | ||
** [https://wiki.mozilla.org/index.php?title=Bugzilla:REST_API:Search&oldid=185373 Parameters for the Search | ** [https://wiki.mozilla.org/index.php?title=Bugzilla:REST_API:Search&oldid=185373 Parameters for the Search method] | ||
* [https://wiki.mozilla.org/index.php?title=Bugzilla:REST_API:Objects&oldid=185369 Objects sent and received] | * [https://wiki.mozilla.org/index.php?title=Bugzilla:REST_API:Objects&oldid=185369 Objects sent and received] | ||
** [https://wiki.mozilla.org/index.php?title=Bugzilla:REST_API:Objects:Configuration&oldid=185371 The Configuration object] | ** [https://wiki.mozilla.org/index.php?title=Bugzilla:REST_API:Objects:Configuration&oldid=185371 The Configuration object] | ||
| Line 74: | Line 74: | ||
== Errors == | == Errors == | ||
If | If methods are not successful for whatever reason, they will return an [[Bugzilla:REST_API:Objects#Error|Error]]. | ||
The "code" field, if present, will give an error code from [[Bugzilla:WebServices:Errors|this list]]. The other member variables of the object are not stable, and should not be relied upon. The html_page, in particular, is only there so you can read it manually for a better idea of what the error was, and ask for the API to support it properly. | The "code" field, if present, will give an error code from [[Bugzilla:WebServices:Errors|this list]]. The other member variables of the object are not stable, and should not be relied upon. The html_page, in particular, is only there so you can read it manually for a better idea of what the error was, and ask for the API to support it properly. | ||