Community articleAdding a message to a message board4.0
Added by IBM contributorIBM | Edited by IBM contributorLDD Webmaster on July 1, 2014
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

DEPRECATED API - Refer to OpenSocial Microblogging APIs for new development work.

This API is deprecated. These APIs are still functional for backward compatibility reasons - but no new feature is surfaced through these APIs. For any new development work, refer to the OpenSocial Microblogging APIs.

Send an Atom document containing a message entry to your own or another person's board feed.


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

Input


Provide a message Atom document. The content type of the Atom entry document must be application/atom+xml.

Output


An Atom entry document containing the new message.
 

 

Input
Method URI Description
POST /profiles/atom/mv/theboard/entries.do Value of the href attribute of the <link> element with the rel="http://www.ibm.com/xmlns/prod/sn/mv/theboard" attribute value found in one of the following locations:
1. Your service document to add the message to your own board.
2. The user's profile entry to add the message to someone else's board.
Content Type: application/atom+xml
Sample Request:
POST https://enterprise.example.com/profiles/atom/mv/theboard/entry.do?key=5f673e67-8399-4bb6-b0de-1bd5ba62548c

<entry xmlns="http://www.w3.org/2005/Atom">
<content type="text">This is a test status update!</content>
<category scheme="http://www.ibm.com/xmlns/prod/sn/type" term="entry" />
<category scheme="http://www.ibm.com/xmlns/prod/sn/message-type" term="status" />
</entry>
Name Type Optional Description
key
string No An ID generated by Profiles to identify a person.
Output
Code Description
201
You have created your message.
400
Bad Request. Returned when no matching user record can be found.
401
Unauthorized. Returned when no authenticated user or no userid, email, or key parameter are provided on the request.