Notification

Returns notification targets of the user

Changed on
get/api/notifications/targets

Request

  • Base URL
    https://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

Response

OK

NotificationTarget[] required
id, integer required

Primary Key for database

target, string nullable

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

type, 0 | 1 | 2 | 3 | 4 | 5 | 6 required

Defines the available target type values.

when, 0 | 1 | 2 required

Defines the available notify when values.

userId, string nullable

Gets or sets the user id.

name, string nullable

User Given name of this target

useCount, integer required

Gets or sets the use count.

Changes

    • info

      the endpoint scheme security Bearer was added to the API

    • info

      the endpoint scheme security GoogleToken was added to the API

    • info

      added the non-success response with the status

    13 more changes in this revision