User Creation

From EveryTrail API Developer Documentation

Jump to: navigation, search

Contents

URL

/api/user/create

Semantics

Creates a new user account for use on EveryTrail.com (and through APIs)

Parameters

Parameter nameParameter formatRequiredDescription
usernamestring (0-9,a-z,A-Z,-,_)yesrequested username for the account
passwordstring (at least 6 characters)yesrequested password for the account
emailstring (valid email address)yesemail address of the user creating the account

Success Response

<etUserCreateResponse status="success">
  <userID>${user ID}</userID>
</etUserCreateResponse>

${media ID}: ID of media object on the server as int ${media type}: mime-type of the media object as string

Error Response

<etUserCreateResponse status="error">
  ${error reponse}
</etUserCreateResponse>

${error reponse}: See format in Error Reponse Format

Error Codes

CodeMessage
1username empty
2incorrect password length
4incorrect email format
6username taken
7email taken
10unknown error
Personal tools