POST /v1/announcements

Changed on

Create an announcement.

Request

  • Base URL
    https://nhse-${ENV}-innovation-service-admin-functions.azurewebsites.net/api
  • URL
    https://nhse-${ENV}-innovation-service-admin-functions.azurewebsites.net/api/v1/announcements
  • Auth
    none declared

Request body

titlestring required

Title of the announcement

userRolesstring[]
startsAtstring date-time required
expiresAtstring date-time
type'LOG_IN' | 'HOMEPAGE' required
sendEmailboolean

Response

Announcement created.

idstring uuid required

Changes

    • info

      the response property became required for the status

    • breaking

      added the new required request property /

    • breaking

      removed subschema #1 subschema #2 from the request property anyOf list

    • breaking

      the request property type changed from no type to object

    • info

      added the new optional request property /

    • info

      added the new optional request property