Create community files 

To create a community file, send a POST request to the remote applications feed of the community to which you want to add the file.

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

  1. Determine the URI to which to POST the file Atom document to create the community file by first accessing the service document for remote applications. See Retrieve a remote applications list for more details.

  2. Create an Atom document to represent the community file.

  3. Send the Atom document using a POST request to the following URI:

      Table 1. Atom API request details
      Method Resource URI Input representation
      POST Communities remote applications feed From the entry in the Communities remote application feed that contains the following category: <category term="Files" scheme="" /> , find the value of the href attribute in the <link> element that has the following rel attribute value: rel="". file


Provide a file Atom entry document.

Note: The content type of the Atom entry document must be application/atom+xml.


An Atom entry document containing the new file entry.

Returned HTTP headers

HTTP/1.1 201 Created

Location: url

Error codes

Parent topic

Work with remote applications

Related reference
Retrieve a remote applications list