Dashboard > Bla-bla List > ... > REST API > register
Bla-bla List Log In | Sign Up   View a printable version of the current page.
register


Added by Geert Bevin, last edited by Geert Bevin on Mar 18, 2005  (view change)
Labels: 
(None)

(public)

Registers a new user and sends a confirmation email on success to the user's email address.

Submissions
register
Performs the registration.
Parameters
email The email address of the account.
firstname The first name of the account.
lastname The last name of the account.
login The login of the account.
password The password of the account.
password2 The password of the account, repeated.
Errors
MANDATORY:firstname The first name wasn't provided.
WRONGLENGTH:firstname The first name was too long (max. 50 chars).
MANDATORY:lastname The last name wasn't provided.
WRONGLENGTH:lastname The last name was too long (max. 50 chars).
MANDATORY:login The login wasn't provided.
WRONGLENGTH:login The login was too short or too long (min. 5 and max. 20 chars).
UNICITY:login The login already exists.
MANDATORY:password The password wasn't provided.
WRONGLENGTH:password The password was too short or too long (min. 5 and max. 20 chars).
MANDATORY:password2 The second password wasn't provided.
WRONGLENGTH:password2 The second password was too short or too long (min. 5 and max. 20 chars).
NOTSAME:password2 The password wasn't the same as the first password.
MANDATORY:email The email wasn't provided.
INVALID:email The email was not valid.
WRONGLENGTH:email The email was too long (max. 100 chars).
UNICITY:email The email already exists.

example request

http://blablalist.com/register?
    submission=register&
    email=johnsmith@company.com&
    firstname=John&
    lastname=Smith&
    login=johnsmith&
    password=password&
    password2=password

example result

<registration>
    <success id="21"/>
</registration>



Are you enjoying Confluence? Please consider purchasing it today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.1a Build:#515 May 19, 2006) - Bug/feature request - Contact Administrators