XML technologies / RSS & Atom / Atom / Publishing with the Atom Publishing Protocol / Functions of the Atom API
(Excerpt from "Newsfeeds with RSS and Atom" by Heinz Wittenbrink, published by Galileo Press, 2005)
Finding entries
The API’s first basic function is to find individual entries or groups of entries. An appropriate URI is specified in the introspection document. It can be used to find documents describing groups (collections) of entries.
Editing entries via EditURI
Each entry has a specific URI for editing it, the EditURI. This URI is included in entry lists and returned after a new entry is created. Naming is up to the server software. A client learns this URI from the introspection document.
Editing a group of entries via FeedURI
The FeedURI used for editing downloads an Atom feed that differs from an "ordinary" feed through links from each entry to the previous and next entries, facilitating editing. The feed may also contain a link element with rel="service.post" for sending new entries to the server. Each entry should contain a link with rel="service.edit" whose URIs are EditURIs.
The service.feed is the introspection file that publishes the server’s capabilities. The different features offered by the service are discovered through link elements. In these links, the value of the attribute rel begins with the string service; this is followed by the service name. There is no longer a separate search service, but links to other feeds that either have rel="service.feed" and different titles, or simply use rel="prev" or rel="next" to point to previous or next feeds.
Posting other data via ResourcePostURI
ResourcePostURI is used to send resources that are not entries to the server. This URI is again discovered through links. These links belong either to an HTML document’s head or are children of an element atom:feed or atom:entry. The link has an attribute rel="resource.post". The HTTP request sent to the server includes Content-Type and Content-Length headers. The server responds with the usual HTTP response codes.

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.