GET /
GET /status
The following API endpoints are open to any requester, they are our public API.
/api/tags
GET *
/api/download
GET /info/:tags
GET /:downloadId
Get /
Return the API documentation
GET /status/*
Used for checking the status of the server, if it is offline or not.
Returns
{
"status": "ok"
}
GET /api/tags/*
Returns all tags found in the CMS
Returns
{
"name" : "[tag name]"
}[]
GET /api/download/info/:tags
Expected Parameters
The :tags should be a stringified array of strings containing the tag names by which to filter; e.g. ["Manual","CueCore3"]
Returns
{
"id" : "[downloadId]",
"title" : "[download title]",
"date" : "[download last modified data]",
"size" : "[download size in bytes]",
"url?" : "[download url, if download is a link]",
"tags" : "[array of tags associated with the download]"
}[]
POST /api/download/:downloadId
Download file associated with downloadID if it is a file, otherwise returns the URL
Returns
{
"url" : "[download url, if download is a link]",
}