⚠️ This documentation pertains to a preview endpoint. This feature is not yet ready for API consumption and may change.
For inquiries or feedback, please contact us at Glean.

Publish draft Announcement

post/publishdraftannouncement

Promote a draft Announcement to be visible to others.

SecurityBearerAuth
Request
header Parameters
X-Glean-Auth-Type
string

Auth type being used to access the endpoint (should be non-empty only for global tokens).

X-Scio-Actas
string <email>

Email address of a user on whose behalf the request is intended to be made (should be non-empty only for global tokens).

Request Body schema: application/json
required

Publish draft announcement content.

id
required
integer

The opaque id of the draft announcement to be published.

Responses
200

OK

400

Invalid request

401

Not Authorized

429

Too Many Requests

Request samples
application/json
{
  • "id": 0
}