Updates a target
Changed onRequest
- Base URLhttps://sky.coflnet.com (the document declares no server; this is the origin it was published from)
- Auth
- API key in header Authorization
- or API key in header GoogleToken
Request body
Represents a notification target.
Primary Key for database
The target to send the notification to Depends on the Coflnet.Sky.Api.Models.Notifications.NotificationTarget.Type When Type is WEBHOOK this is the url When Type is DISCORD this is the user id to be mentioned When Type is DISCORD_WEBHOOK this is the url When Type is FIREBASE this is the token When Type is EMAIL this is the email address
Defines the available target type values.
Defines the available notify when values.
Gets or sets the user id.
User Given name of this target
Gets or sets the use count.
Response
OK
Changes
- breaking
the request property
idbecame required (media type: application/json-patch+json) - breaking
the request property
idbecame required (media type: application/json) - breaking
the request property
idbecame required (media type: text/json)
17 more changes in this revision
- breaking