Enums

Convert an enum value bidirectionally. For number enums: provide a number to get its string name. For string enums: provide a string to get its value. Returns the converted value with metadata if available.

get/v4/enums/{enumName}/convert/{value}

Path parameters

enumNamestring required

Name of the enum

valuestring required

The value to convert (number or string depending on enum type)

Response

Response for status 200

descriptionstring

Description if available

Changes

No recorded changes to this endpoint across all 2 revisions of this API.