Skip to content

Latest commit

 

History

History
71 lines (51 loc) · 758 Bytes

banned.rest

File metadata and controls

71 lines (51 loc) · 758 Bytes

/software/:app/banned

Contents

List packages banned from the appliance.

Example:

< GET /software/123/banned

> 200 Ok
>
> [
>   "gnome"
> , "kde4"
> ]

Modify the list packages and patterns included in the appliance.

Example:

< PATCH /software/123/banned
<
< [
<   { "op": "add", "path": "/-", "value": "e17" }
< ]

> 200 Ok
>
> [
>   "e17"
> , "gnome"
> , "kde4"
> ]

Set packages banned from the appliance.

Example:

< PUT /software/123/banned
<
< [
<   "gnome"
< , "kde4"
< ]

> 200 Ok
>
> [
>   "gnome"
> , "kde4"
> ]