Errors

400

Examples

curl -X POST -H "Content-Type: application/json" -d '{"column_name": "number_of_strings", "column_value": "100", "description": "100 strings!"}' -H "Authorization: XXXX" http://localhost:3000/traits/number_of_strings/values

{
	"trait_value": {
		"id": 5634,
		"column_name": "number_of_strings",
		"column_value": "100",
		"description": "100 strings!",
		"approved": false,
		"image": null
	}
}
        

Params

Param name Description
name
optional

Value:

Must be String

column_value
optional

Value:

Must be String

description
optional

An optional description


Value:

Must be String