Preferences
Create a server preference (Admin)
Changed onAdd a new preference to your server
put/preferences
Request
- Base URLhttps://develop.ampache.dev/rest/8/json
- URLhttps://develop.ampache.dev/rest/8/json/preferences
- Auth
- HTTP bearer
- or API key in header auth
- or API key in query parameter auth
Query parameters
filterstring
Preference name
type'boolean' | 'integer' | 'string' | 'special'
defaultstring
Default value (string or integer)
categorystring
interface,internal,options,playlist,plugins,streaming
descriptionstring
subcategorystring
Request body
Response
Created
Changes
- info
api operation id
preferenceCreatewas added - info
added optional request body
- info
the
queryrequest parametercategorybecame optional - info
the
queryrequest parameterdefaultbecame optional - info
the
queryrequest parameterfilterbecame optional - info
the
queryrequest parametertypebecame optional - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
- info
added the non-success response with the status
- info