Update Announcement
Update a textual announcement visible to some set of users based on department and location.
Query parameters
The client's preferred locale in rfc5646 format (e.g. en, ja, pt-BR). If omitted, the Accept-Language will be used. If not present or not supported, defaults to the closest match or en.
Request body
The date and time at which the announcement becomes active.
The date and time at which the announcement expires.
The headline of the announcement.
An emoji used to indicate the nature of the announcement.
The Glean Document ID of the source document this Announcement was created from (e.g. Slack thread).
Whether or not to hide an author attribution.
This determines whether this is a Social Feed post or a regular announcement.
This determines whether this is an external-link post or a regular announcement post. TEXT - Regular announcement that can contain rich text. LINK - Announcement that is linked to an external site.
Used by the Social Feed to pin posts to the front of the feed.
URL for viewing the announcement. It will be set to document URL for announcements from other datasources e.g. simpplr. Can only be written when channel="SOCIAL_FEED".
The opaque id of the announcement.
Response
OK
The date and time at which the announcement becomes active.
The date and time at which the announcement expires.
The headline of the announcement.
An emoji used to indicate the nature of the announcement.
The Glean Document ID of the source document this Announcement was created from (e.g. Slack thread).
Whether or not to hide an author attribution.
This determines whether this is a Social Feed post or a regular announcement.
This determines whether this is an external-link post or a regular announcement post. TEXT - Regular announcement that can contain rich text. LINK - Announcement that is linked to an external site.
Used by the Social Feed to pin posts to the front of the feed.
URL for viewing the announcement. It will be set to document URL for announcements from other datasources e.g. simpplr. Can only be written when channel="SOCIAL_FEED".
The opaque id of the associated draft.
An opaque token that represents this particular UGC. To be used for /feedback reporting.
The opaque id of the announcement.
Server Unix timestamp of the creation time (in seconds since epoch UTC).
Server Unix timestamp of the last update time (in seconds since epoch UTC).
Whether or not the announcement is published.
Example response
{
"draftId": 342
}