User REST API
What is Rest (Representational State Transfer)?: It's an architectural style, not a standard. Find out more in the Wikipedia or read the following article if you want to know about REST in Rails
What do you need to access our REST API? You just need to know how to send HTTP requests with basic authentication to our servers from your application.
TABLE OF CONTENTS
- User Rest API
- User XML Representation
- Best profile (GET)
<user>
<id>aRIULIPCWr2Oq0aaeP0Qfc</id>
<login_name>andy</login_name>
<email>info@assembla.com</email>
<organization>Assembla</organization>
<website>www.assembla.com</website>
<phone>1.781.328.2241</phone>
<first_im>
<type>Yahoo</type>
<id>asinglenet</id>
</first_im>
<second_im>
<type>Skype</type>
<id>andysingleton</id>
</second_im>
</user>
Note: You may not see all the attributes for a user. Information availability depends on user's choice. The only attributes which are always present are: id and login
To access a user profile you need to send a GET request to: http://www.assembla.com/user/best_profile/<user_id>
Where <user_id> is the id of the user you want to get the information about. Profile's information availability may change depending on user's permissions. You can access a user's public information if you send the request without authentication but if you authenticate yourself using http basic authentication you may get more information from the profile.
If you want to get the response in xml format, be sure to include "Accept:application/xml" in your request header.
Example using curl for public profile
curl -i -X GET -H "Accept: application/xml" http://www.assembla.com/user/best_profile/aRIULIPCWr2Oq0aaeP0Qfc
Example using curl for permissioned profile
curl -i -X GET -H "Accept: application/xml" http://user:password@www.assembla.com/user/best_profile/aRIULIPCWr2Oq0aaeP0Qfc
(Note: http://user:password@www.assembla.com/ is the way you use basic authentication with curl. You need to find out how to use it with your application)
RESPONSE: If the user is found you will get an xml representation
of him, otherwise, you will get a 404 Not Found Status in the
response
Wiki Pages
- Space Permissions and Access
- Copy a space
- FAQ
- Preconfigured Spaces
- Wiki Formats
- Assembla New User Orientation
- Working for an Assembla Employer
- Assembla Video Tutorials
- Issue Management
- Set up a Software Project
- Mercurial Version Control
- Tool bundle - integrated tkts
- Tool bundle - Designers
- Tool bundle - Collaboration
- Assembla REST API
- Document REST API
- Milestone REST API
- Ticket REST API
- Space REST API
- User REST API
- Scrum Report REST API
- Add Projects from Existing Pipeline
- Privacy of User Information
- On-site Subversion with Trac
- TracImportToAssemblaTickets
- New in this Release
- How to Pay Developers the Assembla Way
- Setup Email Alerts and RSS Feeds
- Tortoise SVN - Multiple People Files and Versions
- Responding to RFPs and RFQs with Assembla
- Work with Project Portfolios
- Integrate with Assembla
- Assigning Work
- Manage an Agile Software Team
- Assemble an On-Demand Team
- Assembla - Tracker and Screen Capture
- Choosing Work
- Holding Meetings
- How to Complete a Scrum Report
- Team Member Ramp Up
- Wiki Page Styles
- Add-on Tools
- Include Skype Status on a Wiki Page
- How to edit branded themes
Space Home