diff options
Diffstat (limited to 'www/json-api/api-config.md')
| -rw-r--r-- | www/json-api/api-config.md | 36 |
1 files changed, 36 insertions, 0 deletions
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) + +--- + +<a id="get"></a> +# 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" +} +``` + +<a id="set"></a> +# Set/Modify Config + +Not implemented. |
