POST

Creates a feed to be stored in the database.

Note

If you are creating an email feed, see POST (Create an IMAP Email Feed).

URL:

https://<ServerIP>:<Port>/ccp-webapp/ccp/feed

HTTPS method:

POST

Parameters:

See Feed API Parameters.

Example XML request payload:

<Feed>
    <chatInactivityTimeout>300</chatInactivityTimeout>
    <chatJoinTimeout>60</chatJoinTimeout>
    <description>My web chat feed</description>
    <name>My Chat Feed</name>
    <pushFeedURL>https://[Server]:
    [Port]/ccp-webapp/ccp/chatfeed/100159</pushFeedURL>
    <refURL>https://[Server]:[Port]/ccp-webapp/ccp/feed/100159</refURL>
    <replyTemplateRefURL>
    https://[Server]:[Port]/ccp-webapp/ccp/template/reply/302
    </replyTemplateRefURL>
    <status>1</status>
    <tags>
        <tag>tag1</tag>
        <tag>tag2</tag>
        <tag>tag3</tag>
    </tags>
    <type>8</type>
</Feed>

HTTPS response headers:

The response contains the URL for the newly created feed. Note the id: 100162.


https/1.1 201 Created
Location: https://<ServerIP>:<Port>
 /ccp-webapp/ccp/feed/100162
Content-Type: text/plain
Content-Length: 0
Date: Tue, 12 Jan 2010 16:15:04 GMT

See also HTTPS responses.