Create a list
Spaces method and path for this operation:
post /s/{space_id}/api/lists
Refer to Spaces for more information.
Create a new list.
Body Required
List's properties
-
A string that does not contain only whitespace characters
Minimum length is
1. -
A string that does not contain only whitespace characters
Minimum length is
1. -
Additional properties are allowed.
-
A string that does not contain only whitespace characters
Minimum length is
1. -
Values are
binary,boolean,byte,date,date_nanos,date_range,double,double_range,float,float_range,geo_point,geo_shape,half_float,integer,integer_range,ip,ip_range,keyword,long,long_range,shape,short, ortext. -
Minimum value is
1. Default value is1.
POST /api/lists
curl \ --request POST 'https://localhost:5601/api/lists' \ --header "Authorization: $API_KEY" \ --header "Content-Type: application/json" \ --data '{"description":"string","deserializer":"string","id":"string","meta":{},"name":"string","serializer":"string","type":"binary","version":1}'