Retrieve a file share 

Retrieve an Atom document representation of a file share programmatically.

This method returns the Atom document of a file share. If you want to retrieve a feed, see Getting a feed of file shares.

See Authenticating requests for information about how to authenticate the request.

Table 1. Atom API request details

Method URI Output representation Description
GET /basic/anonymous/api/share/{share-id}/entry share Atom document Returns a file share Atom document without authenticating the request.
GET /basic/api/share/{share-id}/entry share Atom document Returns a file share Atom document. This request requires authentication.


Note: {share-id} is the value of the <td:uuid> element in the share's Atom entry document.

You can use one or more of these headers with the request.

Table 2. Input headers

Parameter Description
If-Modified-Since Used to validate the local cache of the feed and entry documents retrieved previously. If the feed or entry has not been modified since the specified date, HTTP response code 304 (Not Modified) is returned.
If-None-Match Contains an ETag response header sent by the server in a previous request to the same URL. If the ETag is still valid for the specified resource, HTTP response code 304 (Not Modified) is returned.


Input

None.


Output

An Atom entry document for the file share.

Returned HTTP headers

HTTP/1.1 200 OK

Content-Type: application/atom+xml

Error codes


Parent topic

Work with shares

Related reference
Share content


   

 

});

+

Search Tips   |   Advanced Search