From 4f49b16079b27d7ce633619e4cddfdf2bffbc952 Mon Sep 17 00:00:00 2001 From: cashmere Date: Fri, 4 Sep 2026 09:05:24 +0200 Subject: initial commit --- www/json-api/api-config.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 www/json-api/api-config.md (limited to 'www/json-api/api-config.md') diff --git a/www/json-api/api-config.md b/www/json-api/api-config.md new file mode 100644 index 0000000..e89b26f --- /dev/null +++ b/www/json-api/api-config.md @@ -0,0 +1,36 @@ +# JSON API: /config +([⬑JSON API Index](index.md)) + +Jump to: + +* [Get Config](#get) +* [Set Config](#set) + +--- + + +# Fetch Config + +**Status:** Implemented 20120217 + +**Required permissions:** "s" + +**Request:** `/json/config/get/Area[/Area2/...AreaN]` + +Where "Area" can be any combination of: *skin*, *ticket*, *project*, +*all*, or *skin-backup* (which is not included in "all" by default). + +**Response payload example:** + +```json +{ +"ignore-glob":"*~", +"project-description":"For testing Fossil's JSON API.", +"project-name":"fossil-json-tests" +} +``` + + +# Set/Modify Config + +Not implemented. -- cgit v1.3.1