Contributors Docs
HomeDiscord ServerDocs
  • ๐Ÿ‘‹Welcome
  • ๐ŸŒŽLocalization
    • Translator infos
    • Calendar Creation
    • Manage translations
  • ๐Ÿ’พUseful links
    • Droptop Links
  • ๐Ÿ–ผ๏ธMedia Kit
    • Droptop Media Kit
  • ๐Ÿ”—Droptop API
    • Endpoints
      • Changelog endpoints
      • Community Apps endpoints
      • Community Themes endpoints
      • Droptop endpoints
Powered by GitBook
On this page

Was this helpful?

  1. Droptop API
  2. Endpoints

Droptop endpoints

About Droptop

PreviousCommunity Themes endpoints

Last updated 9 months ago

Was this helpful?

๐Ÿ”—

Returns data that Droptop needs

get

Returns data that Droptop needs

Responses
200
Successful operation
application/json
500
Error
application/json
get
GET /v1/droptop HTTP/1.1
Host: api.droptopfour.com
Accept: */*
{
  "version": "text",
  "miniversion": "text",
  "CustomApp1": "text",
  "CustomApp2": "text",
  "CustomApp3": "text",
  "CustomApp4": "text",
  "CustomApp5": "text",
  "CustomApp6": "text",
  "CustomApp7": "text",
  "CustomApp8": "text",
  "CustomApp9": "text",
  "CustomApp10": "text"
}

Gets the Droptop Four announcements

get

Gets the Droptop Four announcements

Responses
200
Successful operation
application/json
500
Error
application/json
get
GET /v1/announcements HTTP/1.1
Host: api.droptopfour.com
Accept: */*
{
  "app": {
    "date": 1,
    "expiration": 1,
    "announcement": "text",
    "type": "info"
  },
  "website": {
    "date": 1,
    "expiration": 1,
    "announcement": "text",
    "type": "info"
  }
}

Deletes the Droptop Four announcements

delete

Deletes the Droptop Four announcements

Authorizations
Responses
200
Successful operation
application/json
401
Unauthorized
application/json
delete
DELETE /v1/announcements HTTP/1.1
Host: api.droptopfour.com
Authentication: YOUR_API_KEY
Accept: */*
{
  "app": {
    "date": 1,
    "expiration": 1,
    "announcement": "text",
    "type": "info"
  },
  "website": {
    "date": 1,
    "expiration": 1,
    "announcement": "text",
    "type": "info"
  }
}

Gets the Droptop Four announcement

get

Gets the Droptop Four announcement

Path parameters
platformstring ยท enumRequired

The platform of the announcement (app, website)

Possible values:
Responses
200
Successful operation
application/json
500
Error
application/json
get
GET /v1/announcements/{platform} HTTP/1.1
Host: api.droptopfour.com
Accept: */*
{
  "app": {
    "date": 1,
    "expiration": 1,
    "announcement": "text",
    "type": "info"
  },
  "website": {
    "date": 1,
    "expiration": 1,
    "announcement": "text",
    "type": "info"
  }
}

Deletes the Droptop Four announcements

delete

Deletes the Droptop Four announcements

Authorizations
Path parameters
platformstring ยท enumRequired

The platform of the announcement (app, website)

Possible values:
Responses
200
Successful operation
application/json
401
Unauthorized
application/json
delete
DELETE /v1/announcements/{platform} HTTP/1.1
Host: api.droptopfour.com
Authentication: YOUR_API_KEY
Accept: */*
{
  "app": {
    "date": 1,
    "expiration": 1,
    "announcement": "text",
    "type": "info"
  },
  "website": {
    "date": 1,
    "expiration": 1,
    "announcement": "text",
    "type": "info"
  }
}

Gets the number of downloads of Droptop Four

get

Gets the number of downloads of Droptop Four

Responses
200
Succesful operation
application/json
500
Error
application/json
get
GET /v1/downloads HTTP/1.1
Host: api.droptopfour.com
Accept: */*
{
  "basic_downloads": 1,
  "update_downloads": 1
}

Get the latest Droptop Four version

get

Gets the latest Droptop Four version

Responses
200
Successful operation
application/json
get
GET /v1/version HTTP/1.1
Host: api.droptopfour.com
Accept: */*
200

Successful operation

{
  "version": "text",
  "miniversion": "text"
}
  • GETReturns data that Droptop needs
  • GETGets the Droptop Four announcements
  • POSTAdds a new announcements
  • DELETEDeletes the Droptop Four announcements
  • GETGets the Droptop Four announcement
  • POSTAdds a new announcements
  • DELETEDeletes the Droptop Four announcements
  • GETGets the number of downloads of Droptop Four
  • GETGet the latest Droptop Four version

Adds a new announcements

post

Adds a new announcements

Authorizations
Body
Responses
200
Successful operation
application/json
401
Unauthorized
application/json
422
Validation failed/Endpoint has been spammed
application/json
post
POST /v1/announcements HTTP/1.1
Host: api.droptopfour.com
Authentication: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 141

{
  "app": {
    "date": 1,
    "expiration": 1,
    "announcement": "text",
    "type": "info"
  },
  "website": {
    "date": 1,
    "expiration": 1,
    "announcement": "text",
    "type": "info"
  }
}
{
  "app": {
    "date": 1,
    "expiration": 1,
    "announcement": "text",
    "type": "info"
  },
  "website": {
    "date": 1,
    "expiration": 1,
    "announcement": "text",
    "type": "info"
  }
}

Adds a new announcements

post

Adds a new announcements

Authorizations
Path parameters
platformstring ยท enumRequired

The platform of the announcement (app, website)

Possible values:
Body
dateinteger ยท int32Optional

The date of the announcement

expirationinteger ยท int32Optional

The expiration date of the announcement

announcementstringOptional

The announcement

typestring ยท enumOptional

The type of the announcement (info, warning, error)

Possible values:
Responses
200
Successful operation
application/json
401
Unauthorized
application/json
422
Validation failed/Endpoint has been spammed
application/json
post
POST /v1/announcements/{platform} HTTP/1.1
Host: api.droptopfour.com
Authentication: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 61

{
  "date": 1,
  "expiration": 1,
  "announcement": "text",
  "type": "info"
}
{
  "app": {
    "date": 1,
    "expiration": 1,
    "announcement": "text",
    "type": "info"
  },
  "website": {
    "date": 1,
    "expiration": 1,
    "announcement": "text",
    "type": "info"
  }
}