Get a feed of a person's library 

Get a feed that lists the files in a person's library.

Table 1. Atom API request details

Resource Description
/basic/anonymous/api/userlibrary/{userid}/feed A feed that lists the public files in the library owned by the person specified by the {userid} value. You cannot authenticate this request.
/basic/api/userlibrary/{userid}/feed A feed that lists the public files in the library owned by the person specified by the {userid} value. This feed also includes any files in the library that have been shared with you. This request requires authentication.

{userid} is the user ID of the person. You can find out a person's user ID by retrieving the person's profile feed. See Search Profiles for more information.

Use one or more of the input parameters to narrow the search. Separate multiple parameters with an ampersand (&).

Table 2. Input parameters

Parameter Description
acls Specifies whether or not the permissions for each user should be displayed for each entry in the returned Atom document. This parameter takes a Boolean value of either true or false. By default, the permission information is not returned.
includePath If set to true , an entry extension <td:path> that specifies the path to the object is returned in the resulting feed. This parameter takes a Boolean value of either true or false. By default, the path information is not returned.
includeQuota If set to true , the <td:librarySize> and <td:libraryQuota> elements, which provide size and quota information, are returned in the resulting feed. This parameter takes a Boolean value of either true or false. By default, the quota information is not returned.
page Page number. Specifies the page to be returned. The default value is 1.
pageSize Page size. Specifies the number of entries to be returned per page.
shared Filters the list of results based on whether the file has been shared or not. This parameter is ignored if visibility is set to public. Options are true, false, or null. null returns all files, whether or not they have been shared and is the default value.
sI Start index. Specifies the start index (number) in the collection from which the results should be returned. This parameter is ignored if a page parameter is provided.
since Returns entries that have file content that has been added or updated since the specified time. Specify the time in the number of milliseconds since January 1, 1970, 00:00:00 GMT time.
sortBy String. Specifies what to sort the returned entries by. Options are:
commented

    Organize the entries by the number of times the file has been commented on.

downloaded

    Organize the entries by the number of times the file has been downloaded

length

    Organize the entries by the size of the file.

modified

    Organize the entries by the time the file contents were last updated

published

    Organize the entries by the time the file was created.

recommended

    Organize the entries by the number of times the file has been recommended

title

    Organize the entries by the name of the file. The title is specified in the <title> element of the entry.

updated

    Organize the entries by the last time the time file's metadata or contents were updated.

The default value of this parameter is modified.

sortOrder Defines the order in which to sort the results. Options are:
asc

    Ascending.

desc

    Descending.

If a value is specified for the sortBy parameter, but none is specified for this parameter, then this parameter defaults to asc. If neither is specified, this parameter defaults to desc.

tag String. Filters the list of results by tag. To specify multiple tags, either separate the tag names with commas or provide the tag parameter multiple times. Providing more than one tag has the effect of an AND operator.
visibility Defines who has access to the files. Options are: public or private. If you set this parameter equal to public, only public files are returned. If you set this parameter equal to private, only private files are returned.


Parent topic

Getting Files feeds

Related reference
Search Profiles programmatically


   

 

});