Droptop endpoints
About Droptop
Returns data that Droptop needs
Successful operation
Error
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
Successful operation
Error
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"
}
}
Adds a new announcements
Successful operation
Unauthorized
Validation failed/Endpoint has been spammed
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"
}
}
Deletes the Droptop Four announcements
Successful operation
Unauthorized
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
The platform of the announcement (app, website)
Successful operation
Error
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"
}
}
Adds a new announcements
The platform of the announcement (app, website)
The date of the announcement
The expiration date of the announcement
The announcement
The type of the announcement (info, warning, error)
Successful operation
Unauthorized
Validation failed/Endpoint has been spammed
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"
}
}
Deletes the Droptop Four announcements
The platform of the announcement (app, website)
Successful operation
Unauthorized
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"
}
}
Last updated
Was this helpful?