|
1
|
# JSON API: /config |
|
2
|
([⬑JSON API Index](index.md)) |
|
3
|
|
|
4
|
Jump to: |
|
5
|
|
|
6
|
* [Get Config](#get) |
|
7
|
* [Set Config](#set) |
|
8
|
|
|
9
|
--- |
|
10
|
|
|
11
|
<a id="get"></a> |
|
12
|
# Fetch Config |
|
13
|
|
|
14
|
**Status:** Implemented 20120217 |
|
15
|
|
|
16
|
**Required permissions:** "s" |
|
17
|
|
|
18
|
**Request:** `/json/config/get/Area[/Area2/...AreaN]` |
|
19
|
|
|
20
|
Where "Area" can be any combination of: *skin*, *ticket*, *project*, |
|
21
|
*all*, or *skin-backup* (which is not included in "all" by default). |
|
22
|
|
|
23
|
**Response payload example:** |
|
24
|
|
|
25
|
```json |
|
26
|
{ |
|
27
|
"ignore-glob":"*~", |
|
28
|
"project-description":"For testing Fossil's JSON API.", |
|
29
|
"project-name":"fossil-json-tests" |
|
30
|
} |
|
31
|
``` |
|
32
|
|
|
33
|
<a id="set"></a> |
|
34
|
# Set/Modify Config |
|
35
|
|
|
36
|
Not implemented. |
|
37
|
|