Arrays

Create a new static array with the provided values.

This endpoint creates a new array on the specified model.

Only the "Static" array source is supported at this time. Providing any other array source returns an error.

The array name must be unique within the model and can be up to 128 characters. All values must be unique and non-empty. Each value can be up to 200 characters. The values are saved in the order they are provided.

This endpoint cannot be used with production or library models.

post/api/v1/Arrays

Request

Request body

modelIdinteger

The ID of the model to create the array on.

namestring required

The name of the array. Maximum 128 characters. Must be unique within the model.

arraySourcestring required

The array source. Only "Static" is supported at this time.

Response

OK

arrayIdinteger

The ID of the newly created array

namestring nullable

The name of the newly created array

valuesstring[] nullable

The list of array values in order

Changes

No recorded changes to this operation across all 1 revision of this API.