Documentation

POST /api/log/download

If you are building a CC front-end application, you must use this endpoint to report to the server when a project has been installed using the install command. This increases the download and downloads_recent count for the given project.

Example

local res = http.post("https://pinestore.cc/api/log/download", textutils.serialiseJSON({
    projectId = projectId,
}), {["Content-Type"] = "application/json"})

POST Params

Param: projectId

id of the project for which to register a new download

Example of returned JSON

{
	"success": true
}