From 84e778c6f693027c4f9215eeeda203e36cc19f9a Mon Sep 17 00:00:00 2001 From: Max Audron Date: Fri, 30 Jan 2026 18:19:42 +0100 Subject: init --- README.adoc | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 README.adoc (limited to 'README.adoc') diff --git a/README.adoc b/README.adoc new file mode 100644 index 0000000..c6d9ba2 --- /dev/null +++ b/README.adoc @@ -0,0 +1,53 @@ += Assetto Corsa Content Manage Update Server + +This is a small project to act as https://github.com/ac-custom-shaders-patch/acc-extension-config/wiki/Unrelated-%E2%80%93-About-content-auto-updates-system-(CUP)[CUP] Server that provides automatic update information for Content Manager. + +== API +=== GET / +Gives a list of all available cars, tracks, etc. mapped to their version. +The structure of the API is the same for all types, so this doc will be generic. + + { + "car": { + "car_name": "1.0" + }, + "track": {} + "luaapp": {} + "app": {} + "filter": {} + } + +=== GET // + { + "name": "", + "author": "", + "informationUrl": "", + "version": "1.0", + "active": true, + "cleanInstallation": false + } + +=== GET ///get + HTTP 302 + +== Storage + +Data is stored in a single json file: + + { + "car": { + "": { + "name": "", + "author": "", + "informationUrl": "", + "version": "1.0", + "active": true, + "cleanInstallation": false, + "downloadUrl": "" + } + } + "track": {} + "luaapp": {} + "app": {} + "filter": {} + } -- cgit v1.2.3