Announcements

Create an announcement

Changed on

Creates a new announcement that will be displayed to users

post/announcements/create

Request

  • Base URL: https://api.eliteskyblock.com
  • URL: https://api.eliteskyblock.com/announcements/create
  • Auth: HTTP bearer

Request body

titlestring required

Announcement title

contentstring required

Announcement content

type'other' | 'update' | 'article' | 'news' | 'event' | 'maintenance' | 'shop' required
targetLabelstring nullable

Label for the target of the announcement (e.g. "Read more", "View article")

targetUrlstring nullable

Url to read more about the announcement

targetStartsAtstring date-time nullable

Optional time stamp for when the topic of the announcement starts

targetEndsAtstring date-time nullable

Optional time stamp for when the topic of the announcement ends

createdAtstring date-time required

Announcement creation date

expiresAtstring date-time required

Announcement expiration date (will no longer be shown after this date)

Response

No Content

Changes

    • breaking

      removed the media type */* from the request body

    • info

      api operation id EliteAPIFeaturesAnnouncementsCreateAnnouncementEndpoint removed and replaced with CreateAnnouncement

    • info

      added the media type application/json to the request body

    • info

      endpoint added