setting
This is an old revision of the document!
Table of Contents
Setting
REST Operations
GET
URI | Parameter | Accept Types | Result | Status Codes |
---|---|---|---|---|
/setting | optional parameter “delimiter” for text/csv only, default value: “,” | text/html | List of all settings. | 200 - OK |
application/json | 500 - Internal Server Error | |||
text/csv | ||||
text/html | ||||
/setting/<id> | optional parameter “delimiter” for text/csv only, default value: “,” | text/html | The setting identified by the URI. | 200 - OK |
application/json | 404 - Not Found | |||
text/csv | 500 - Internal Server Error |
POST
URI | Parameter | Accept Types | Result | Status Codes |
---|---|---|---|---|
/setting | settingName | Create a new Setting. The redirect points to the URI of the new Setting. | 303 - See Other | |
packages[] - URIs of packages to include | 500 - Internal Server Error | |||
/setting/<id> | settingName | Modify the setting identified by the URI. | 200 - OK | |
addedPackages[] - URIs of packages to add | 404 - Not Found | |||
removedPackages[] - URIs of packages to remove | 500 - Internal Server Error |
setting.1710520141.txt.gz · Last modified: 2024/03/15 16:29 by shankar