GET /api/v1/gallery_style_presets
Display a list of all gallery style presets.


POST /api/v1/gallery_style_presets
Create a new gallery style preset.

Params

Param name Description
gallery_style_preset
optional , nil allowed

Validations:

  • Must be a Hash

gallery_style_preset[name]
required

Name of the preset

Validations:

  • Must be a String

gallery_style_preset[logo]
required

Logo of the preset

Validations:

  • Must be a String


PUT /api/v1/gallery_style_presets/:id
Update a gallery style preset.

Params

Param name Description
id
required

ID of the gallery style preset to be updated.

Validations:

  • Must be a String

gallery_style_preset
optional , nil allowed

Validations:

  • Must be a Hash

gallery_style_preset[name]
optional

Name of the preset

Validations:

  • Must be a String

gallery_style_preset[logo]
optional

Logo of the preset

Validations:

  • Must be a String


DELETE /api/v1/gallery_style_presets/:id
Delete a gallery style preset.

Params

Param name Description
id
required

ID of the gallery style preset be deleted.

Validations:

  • Must be a String