Changes between Version 8 and Version 9 of NewTestbedAPISpec
- Timestamp:
- Jul 21, 2013 7:48:18 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NewTestbedAPISpec
v8 v9 254 254 * None 255 255 256 === Creation ===256 === Creation and Deletion === 257 257 258 258 Finally a user can request access to the testbed by creating a profile. The user has no privileges and consumes minimal resources until they join a vetted project. This is an unauthenticated call, but the user profile is not created until an automated e-mail exchange is made between the testbed and the proto-user. 259 259 260 260 * '''Service:''' Users 261 * '''Operation:''' getProfileDescription262 * '''Input Parameters:''' 263 * Userid - the requested userid 261 * '''Operation:''' createUser 262 * '''Input Parameters:''' 263 * Userid - the requested userid (optional) 264 264 * A list of profile elements each containing 265 265 * Name - a string, the element's name 266 266 * StringValue - a string containing the element's value, unless it is binary/opaque 267 267 * '''Return Values:''' 268 * None268 * The userid actually created 269 269 270 270 Note that all non-optional fields must be provided, so this is best preceeded by a call to getProfileDescription to learn the fields. 271 272 A base userid is constructed, either from the userid presented or from a required field in the profile. If that base userid is available, that a user with that userid is created. Otherwise the userid is disambiguated until there are no collisions. The userid actually created is returned. 273 274 The user is created without membership in any projects and without a password. A password reset challenge (equivalent to one issued by requestPasswordReset) is issued and the challenge e-mailed to the user at the address in the profile. 275 276 Removing a user is accomplished using 277 * '''Service:''' Users 278 * '''Operation:''' removeUser 279 * '''Input Parameters:''' 280 * Userid - the requested userid 281 * '''Return Values:''' 282 * a boolean, true if the user was removed 283 284 Most users are unlikely to use this service, and policy may allow only administrators to remove users. 271 285 272 286 == Projects ==