Check User Name

From EveryTrail API Developer Documentation

Jump to: navigation, search

Contents

URL

/api/user/checkusername

Semantics

Checks if a username is available for registration

Parameters

Parameter nameParameter formatRequiredDescription
username (0-9, a-z, A-Z,-,_)stringyesusername to check

Success Response

<etUserCheckUsernameResponse status="success">
  <username>${username}</username>
</etUserCheckUsernameResponse>

${username}: the username that was checked

Error Response

<etUserCheckUsernameResponse status="error">
  <username>${username}</username>
  ${error reponse}
</etUserLoginResponse>

${username}: The username for which the request was done

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

Error Codes

CodeMessage
6username taken
10unknown error
Personal tools