Request format

All calls to the API must be made at:
http://userecho.com/api/

Typical call format is:
http://userecho.com/api/[command].[format]?key=[api_key]
where:
[command] - any of the supported commands from list below.
[format] - output format. We support json, xml and csv.
[api_key] - Your API key. You can get key under Setup->Advanced features->API.

You should replace the [user_id],[feedback_id],[forum_id],... with suitable values.

List of supported commands

Users

users - List of all users.

[
    {
        "first_name": "Sergey Stukov", 
        "is_staff": true, 
        "last_login": "2011-01-27 03:09:33", 
        "id": 1, 
        "date_joined": "2009-12-03 23:58:48"
    }, 
    {
        "first_name": "Anonymous", 
        "is_staff": false, 
        "last_login": "2009-12-04 12:55:38", 
        "id": 2, 
        "date_joined": "2009-12-04 12:55:38"
    }
]

users/[user_id] - Selected user by user_id.

users/[user_id]/feedback - List of feedback belongs to selected user.

users/[user_id]/comments - List of comments belongs to selected user.

Dictionaries

forums - List of all forums in project.

forums/[forum_id]/categories - List of selected forum categories.

forums/[forum_id]/types - List of feedback types supported by selected forum.

forums/[forum_id]/tags - List of tags types supported by selected forum.

Feedback

forums/[forum_id]/feedback - List of feedback belongs to selected forum.

[
    {
        "feedback_count": 517, 
        "description": "Feel free to leave feedback let's together improve the service", 
        "created": "2009-12-04 12:57:41", 
        "public": true, 
        "comment_count": 899, 
        "id": 1, 
        "name": "General"
    }, 
    {
        "feedback_count": 198, 
        "description": "Internal UE tasks", 
        "created": "2010-04-23 12:53:44", 
        "public": false, 
        "comment_count": 360, 
        "id": 312, 
        "name": "Tasks"
    }
]	

users/[user_id]/feedback - List of feedback belongs to selected user.

categories/[category_id]/feedback - List of feedback belongs to selected category.

feedback/[feedback_id] - Selected feedback details.

Comments

feedback/[feedback_id]/comments - List of comments related to selected feedback.

users/[user_id]/comments - List of comments belongs to selected user.

Our API is constantly developed and improved, we welcome your suggestions on our forum.

XLanguage