License

Updates server license

Changed on

Caches the result when successful

post/api/License

Request

  • Base URL
    http://localhost:5000
  • URL
    http://localhost:5000/api/License
  • Auth
    API key in header x-api-key

Request body

licensestring nullable required
emailstring nullable required
discordIdstring nullable

Response

OK

successboolean
isSubscriptionActiveboolean
errorCode0 | 1 | 2 | 3 | 4

Members:

  • 0 — None
  • 1 — Registration Failed (RegistrationFailed)
  • 2 — Already Registered (AlreadyRegistered)
  • 3 — Subscription Inactive (SubscriptionInactive)
  • 4 — Internal Error (InternalError)

Changes

    • info

      added the media type application/json for the response with the status

    • info

      added the media type text/json for the response with the status

    • info

      added the media type text/plain for the response with the status