GET /api/v1/select_field_options
Display a list of all select field options.


GET /api/v1/select_field_options/:id
Display a select field option.

Params

Param name Description
id
required

ID of the select field option to be displayed.

Validations:

  • Must be a String


POST /api/v1/select_field_options
Create a new select field option.

Params

Param name Description
select_field_option
optional , nil allowed

Validations:

  • Must be a Hash

select_field_option[name]
required

The name of the field option.

Validations:

  • Must be a String


PUT /api/v1/select_field_options/:id
Update a select field option.

Params

Param name Description
id
required

ID of the select field option to be updated.

Validations:

  • Must be a String

select_field_option
optional , nil allowed

Validations:

  • Must be a Hash

select_field_option[name]
optional

The name of the field option.

Validations:

  • Must be a String


DELETE /api/v1/select_field_options/:id
Delete a select field option.

Params

Param name Description
id
required

ID of the select field option to be deleted.

Validations:

  • Must be a String


GET /api/v1/select_field_options/:id/in_use
Checks if the select field option value is used by any asset or project