Changes between Version 4 and Version 5 of DRAFT_GAPI_AM_API_V2_DETAILS
- Timestamp:
- 12/12/11 09:48:57 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DRAFT_GAPI_AM_API_V2_DETAILS
v4 v5 102 102 || `ERROR` || Internal error || 103 103 || `SERVERERROR` || Server error || 104 || `BUSY` || Server busy; try again later ||105 104 106 105 ==== Members of the !GetVersion {{{value}}} return struct ==== … … 206 205 || `FORBIDDEN` || Credential does not grant permission to the slice || 207 206 || `BUSY` || Slice is temporarily locked, try again later || 208 || `BUSY` || Server is temporarily busy, try again later ||209 207 || `ERROR` || Internal error || 210 208 || `SERVERERROR` || Server error || … … 277 275 || `ERROR` || Internal error || 278 276 || `SERVERERROR` || Server error || 279 || `BUSY` || Server is temporarily busy, try again later ||280 277 || `BADVERSION` || Bad Version of RSpec requested || 281 278 … … 315 312 || `FORBIDDEN` || Credential does not grant permission to the slice || 316 313 || `BUSY` || Slice is temporarily locked, try again later || 317 || `BUSY` || Server is temporarily busy, try again later ||318 314 || `ERROR` || Internal error || 319 315 || `SERVERERROR` || Server error || … … 367 363 || `FORBIDDEN` || Credential does not grant permission to the slice || 368 364 || `BUSY` || Slice is temporarily locked, try again later || 369 || `BUSY` || Server is temporarily busy, try again later ||370 365 || `ERROR` || Internal error || 371 366 || `SERVERERROR` || Server error || … … 441 436 || `FORBIDDEN` || Credential does not grant permission to the slice || 442 437 || `BUSY` || Slice is temporarily locked, try again later || 443 || `BUSY` || Server is temporarily busy, try again later ||444 438 || `ERROR` || Internal error || 445 439 || `SERVERERROR` || Server error || … … 574 568 || 12 || SEARCHFAILED || "Search Failed (eg for slice)" || 575 569 || 13 || UNSUPPORTED || "Operation Unsupported" || 576 || 14 || BUSY || "Busy (resource, slice , or server); try again later" ||570 || 14 || BUSY || "Busy (resource, slice); try again later" || 577 571 || 15 || EXPIRED || "Expired (eg slice)" || 578 572 || 16 || INPROGRESS || "In Progress" || … … 581 575 Aggregates are similarly encouraged to provide hints on how to fix bad requests using the {{{value}}} entry to experimenters on error or failures. For example, a failed !RenewSliver call that failed because you are not allowed to renew your sliver that far in the future, might return a new date string in the {{{value}}} field that would be allowed. Similarly, a failed !CreateSliver call might return a modified request RSpec in the {{{value}}} field. 582 576 583 Note that a malformed XML-RPC request should still raise an XML-RPC Fault, and other Faults dictated by the XML-RPC specification should still be raised. Aggregates should avoid raising an error (XML-RPC Fault) for application layer errors or any other cases where the XML-RPC specification does not require a Fault, but rather should attempt to return this struct, providing any error messages and stack traces in the {{{output}}} field or other additional fields. 577 Note that a malformed XML-RPC request should still raise an XML-RPC Fault, and other Faults dictated by the XML-RPC specification should still be raised. Aggregates should avoid raising an error (XML-RPC Fault) for application layer errors or any other cases where the XML-RPC specification does not require a Fault, but rather should attempt to return this struct, providing any error messages and stack traces in the {{{output}}} field or other additional fields. Certain XML-RPC errors may be returned using Faults or otherwise by the XML-RPC layer, or may more properly be returned using this struct in the application layer. In such cases, servers should use error codes with negative values. Selected such errors are listed below: 578 579 || -32001 || SERVERBUSY || "Server is (temporarily) too busy; try again later" || 580 581 Note also that servers may respond with other HTTP error codes, and clients must be prepared to deal with those situations. Specifically, a server that is busy might return HTTP code 503, or just refuse the connection. 584 582 585 583 -----