🎉 Giveaways

Update Giveaway

Edits a giveaway.

Note: Already ended giveaways cannot be edited.

put/api/v1/servers/{server_id}/giveaways/{giveaway_id}

Request

  • Base URL: https://api.notoq.xyz (the document declares no server; this is the origin it was published from)
  • URL: https://api.notoq.xyz/api/v1/servers/{server_id}/giveaways/{giveaway_id}
  • Auth: HTTP bearer

Path parameters

server_idstring required

Discord Server ID

giveaway_idinteger required

Giveaway ID

Request body

titlestring nullable
descriptionstring nullable
prizestring nullable
winner_countinteger nullable
channel_idstring nullable
duration_minutesinteger nullable

Neue Gesamtdauer in Minuten (ab jetzt gerechnet)

Response

Successful Response

successboolean required
messagestring required

Changes

No recorded changes to this operation across all 1 revision of this API.