User Tools

Site Tools


setting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
setting [2024/03/15 16:31] shankarsetting [2024/03/19 13:16] (current) shankar
Line 2: Line 2:
  
      
-         
 ===== REST Operations ===== ===== REST Operations =====
  
 ==== GET ==== ==== GET ====
-^ URI              ^ Parameter            ^ Accept Types          ^ Result ^ Status Codes ^+ 
 +^ 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| |/setting   |//optional parameter "delimiter" for// text/csv only, default value: ","| text/html        | List of all settings. | 200 - OK|
 | ::: |::: | application/json |::: | 500 - Internal Server Error| | ::: |::: | application/json |::: | 500 - Internal Server Error|
Line 18: Line 18:
 ^ URI              ^ Parameter            ^ Accept Types          ^ Result ^ Status Codes ^ ^ 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| |/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|+| ::: |//packages[]// - URIs of packages to include | ::: |::: | 500 - Internal Server Error|
 |/setting/<id>   |//settingName// | :::  |Modify the setting identified by the URI.| 200 - OK| |/setting/<id>   |//settingName// | :::  |Modify the setting identified by the URI.| 200 - OK|
-| ::: |//addedPackages[]// - URIs of packages to add |  |::: |404 - Not Found| +| ::: |//addedPackages[]// - URIs of packages to add | ::: |::: |404 - Not Found| 
-| ::: |//removedPackages[] // - URIs of packages to remove |  |::: | 500 - Internal Server Error|+| ::: |//removedPackages[] // - URIs of packages to remove | ::: |::: | 500 - Internal Server Error|
  
 ==== DELETE ==== ==== DELETE ====
 ^ URI              ^ Parameter            ^ Accept Types          ^ Result ^ Status Codes ^ ^ URI              ^ Parameter            ^ Accept Types          ^ Result ^ Status Codes ^
 |/setting/<id>    |//settingName// | :::  | Delete the setting identified by the URI| 303 - See Other| |/setting/<id>    |//settingName// | :::  | Delete the setting identified by the URI| 303 - See Other|
-| ::: |:::|  |::: |404 - Not Found| +| ::: |:::| ::: |::: |404 - Not Found| 
-| ::: |:::|  |::: | 500 - Internal Server Error|+| ::: |:::|:::  |::: | 500 - Internal Server Error| 
 + 
 +==== PUT ====
  
 +Not Implemented.
setting.1710520264.txt.gz · Last modified: 2024/03/15 16:31 by shankar