v1

latestOpenAPI 3.0.3GPL-3.02026-07-177978150.2 KB
presets

Upserts a preset.

Create or update an existing preset.

put/presets/{presetId}

Path parameters

presetIdstring required

The name of the preset set to upsert.

Request body

Example request

{
  "value": {
    "filter_by": "num_employees:>100 && country: [USA, UK]",
    "sort_by": "num_employees:desc",
    "synonym_sets": "synonym_set_1,synonym_set_2"
  }
}

Response

Preset successfully upserted.

namestring required

Example response

{
  "value": {
    "filter_by": "num_employees:>100 && country: [USA, UK]",
    "sort_by": "num_employees:desc",
    "synonym_sets": "synonym_set_1,synonym_set_2"
  }
}