Add a message to a message board
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.
Table 1. Atom API request details
Method Resource URI Input representation POST user's board feed 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:
- Your service document to add the message to your own board.
- The user's profile entry to add the message to someone else's board.
message
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.Returned HTTP headers
HTTP/1.1 201 Created
Indicates that the message was successfully created. If an error occurs, this header contains one of the error codes.
Location: url
Link to edit_url of the message entry. You can use the web address specified here to subsequently retrieve the message.
- HTTP/1.1 400 Bad Request
- HTTP/1.1 401 Unauthorized
Parent topic
Work with the message boardRelated reference
Message content
});