admin-announcements
admin

Update an announcement

Changed on
patch/admin/announcements/{id}

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/admin/announcements/{id}
  • Auth: API key in cookie evelogin

Request body

body_mdstring
color'info' | 'warning' | 'danger' | 'success'
expires_atstring date-time
iconstring nullable
link_labelstring nullable
link_urlstring nullable
starts_atstring date-time
tier1 | 2 | 3
titlestring

Response

OK

Changes

    • breaking

      request property was restricted to a list of enum values

    • breaking

      request property was restricted to a list of enum values

    • breaking

      the request property type changed from no type to string

    • breaking

      the request property type changed from no type to string

    • breaking

      the request property type changed from no type to string, and format from no format to date-time

    • breaking

      the request property type changed from no type to string null

    • breaking

      the request property type changed from no type to string null

    • breaking

      the request property type changed from no type to string null

    • breaking

      the request property type changed from no type to string, and format from no format to date-time

    • breaking

      the request property type changed from no type to integer, and format from no format to int64

    • breaking

      the request property type changed from no type to string

    • warning

      the request property's maxLength was set to 512

    • warning

      the request property's maxLength was set to 512

    • warning

      the request property's maxLength was set to 4096

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      the request property became nullable

    • info

      added the new 1.00 enum value to the request property

    • info

      added the new 2.00 enum value to the request property

    • info

      added the new 3.00 enum value to the request property

    • info

      added the new danger enum value to the request property

    • info

      added the new info enum value to the request property

    • info

      added the new success enum value to the request property

    • info

      added the new warning enum value to the request property

    • info

      added the required property to the response with the status

    • breaking

      added required request body