Changes between Version 18 and Version 19 of NewTestbedAPISpec
- Timestamp:
- Sep 11, 2013 10:13:02 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NewTestbedAPISpec
v18 v19 25 25 Each operation returns useful parameters on success and throws a fault, called a DeterFault, on an error. Faults are standard SOAP faults with a detail section that includes the following fields: 26 26 27 * ErrorCode - a 32-bit integer encoding the type of error. Constants are available in the [http://www.isi.edu/~faber/tmp/ doc/net/deterlab/testbed/api/DeterFault.html javadoc for DeterFault]. Values are:27 * ErrorCode - a 32-bit integer encoding the type of error. Constants are available in the [http://www.isi.edu/~faber/tmp/DeterAPI/doc/constant-values.html the javadocs]. Values are: 28 28 * access - access denied 29 29 * request - bad request … … 35 35 The {{{ErrorString}}} and {{{ErrorCode}}} are equivalent, but the information in the {{{DetailString}}} is generally more informative about the specifics. Request or access errors are generally correctable on the client side while internal errors are not. 36 36 37 [http://www.isi.edu/~faber/tmp/ doc/net/deterlab/testbed/api/DeterFault.html javadoc for DeterFault]37 [http://www.isi.edu/~faber/tmp/DeterAPI/doc/net/deterlab/testbed/api/DeterFault.html javadoc for DeterFault] 38 38 39 39 == ApiInfo == … … 41 41 The ApiInfo service provides metadata about the running DETER API. It also provides a simple check that a user is presenting authentication credentials correctly. 42 42 43 [http://www.isi.edu/~faber/tmp/ doc/net/deterlab/testbed/api/ApiInfo.html javadoc for ApiInfo]43 [http://www.isi.edu/~faber/tmp/DeterAPI/doc/net/deterlab/testbed/api/ApiInfo.html javadoc for ApiInfo] 44 44 45 45 The primary operation in the ApiInfo service is {{{getVersion}}}. The call is unauthenticated and can be made driectly from a web browser to confirm that the API is functioning and that the user can see DETERlab. … … 67 67 The Users API is concerned with managing users and their profiles as well as authenticating to the testbed and receiving a client certificate for later calls. 68 68 69 [http://www.isi.edu/~faber/tmp/ doc/net/deterlab/testbed/api/Users.html javadoc for Users]69 [http://www.isi.edu/~faber/tmp/DeterAPI/doc/net/deterlab/testbed/api/Users.html javadoc for Users] 70 70 71 71 === Authentication ===