Was this page helpful?

GET:users/{userid}/feed

    Overview

    public. Retrieve feed of user contributions

    Uri Parameters
    NameTypeDescription
    useridstringeither an integer user ID, "current", or "=" followed by a double uri-encoded user name
    Query Parameters
    NameTypeDescription
    authenticatebool?Force authentication for request (default: false)
    format{all, daily, raw, rawdaily}?Format for feed (default: daily)
    limitint?Number of changes to retrieve (default: 100)
    offsetint?Skipped changes (default: 0)
    sincestring?Start date for changes. Date is provided in 'yyyyMMddHHmmss' format (default: ignored).
    Return Codes
    NameValueDescription
    BadRequest400Invalid input parameter or request body
    Forbidden403Suscribe access is required
    NotFound404Requested user could not be found
    Ok200The request completed successfully

    Message Format

    Output (Atom):  Refer to http://www.w3.org/2005/Atom

    Output (Digest/Raw):

    <table>
        <change>
            <rc_id>{int}</rc_id> 
            <rc_comment>{text}</rc_comment> 
            <rc_cur_id>{int}</rc_cur_id> 
            <rc_last_oldid>{int}</rc_last_oldid> 
            <rc_namespace>{int}</rc_namespace> 
            <rc_timestamp>{date}</rc_timestamp> 
            <rc_title>{text}</rc_title> 
            <rc_type>{int}</rc_type> 
            <rc_moved_to_ns>{int}</rc_moved_to_ns> 
            <rc_moved_to_title>{text}</rc_moved_to_title> 
            <rc_user_name>{text}</rc_user_name> 
            <rc_watched>{int}</rc_watched> 
            <rc_page_exists>{int}</rc_page_exists> 
            <edit_count>{int}</edit_count> 
        </change>
        ...
    </table>

    Implementation Notes

    Atom and Digest formats retrieve a compressed summary of page changes, whereas the Raw format lists each change individually.

    Code Samples

    C# Samples

     

    Curl Samples

     

    PHP Samples

     

    Other Code Samples

     

    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by