Each announcement is accessed via /api/announcement and has the following properties.
Complete details in AnnouncementProperties.
The unique id for this announcement. It will never change.
announcement.
A date when the announcement was created.
A date when the announcement was last updated.
The unique id of a user that this announcement belongs to.
The name or title of the announcement.
A text representation of the body. No HTML should be present here. URLs are allowed.
The rendered HTML version of the body.
The methods used to fetch and manipulate announcements.
POST /api/announcement
Required. The unique session id provided by a Session method.
Required.
Required.
Returns:
{
"id" : "xxx",
"name" : "My Game Just Dropped",
...
}
PUT /api/announcement/xxx
See Create Announcement for details.
DELETE /api/announcement/xxx
Required. The unique session id provided by a Session method.
Returns:
{
"success" : 1
}
GET /api/announcement/xxx
Optional. The unique session id provided by a Session method.
Optional. See "Relationships" in Intro and Announcement Relationships above for details.
Returns:
{
"id" : "xxx",
"name" : "My Game Just Dropped",
...
}
GET /api/announcement
The list is returned descending by date_created.
Returns:
{
...,
"items" : [
{
"id" : "xxx",
"name" : "My Game Just Dropped",
...
},
...
]
}