settings

Update a single slider

Updates a single slider and return the newly updated slider. Requires the ADMIN permission.

put/settings/discover/{sliderId}

Request

  • Base URL: http://localhost:5055/api/v1
  • URL: http://localhost:5055/api/v1/settings/discover/{sliderId}
  • Auth: one of:
    • API key in cookie connect.sid
    • API key in header X-Api-Key

Path parameters

sliderIdnumber required

Request body

titlestring
typenumber
datastring

Example request

{
  "title": "Slider Title",
  "type": 1,
  "data": "1"
}

Response

Returns newly added discovery slider

idnumber
typenumber required
titlestring nullable required
isBuiltInboolean
enabledboolean required
datastring nullable required

Example response

{
  "id": 1,
  "type": 1,
  "data": "1234"
}

Changes

No recorded changes to this operation across all 21 revisions of this API.