Get list items

GET /api/lists/items/_find

Spaces method and path for this operation:

get /s/{space_id}/api/lists/items/_find

Refer to Spaces for more information.

Get all list items in the specified list.

Query parameters

  • list_id string(nonempty) Required

    List's id

    Minimum length is 1.

  • page integer

    The page number to return

  • per_page integer

    The number of list items to return per page

  • sort_field string(nonempty)

    Determines which field is used to sort the results

    Minimum length is 1.

  • sort_order string

    Determines the sort order, which can be desc or asc

    Values are desc or asc.

  • cursor string(nonempty)

    Returns the list that come after the last list returned in the previous call (use the cursor value returned in the previous call). This parameter uses the tie_breaker_id field to ensure all lists are sorted and returned correctly.

    Minimum length is 1.

  • filter string

    Filters the returned results according to the value of the specified field, using the : syntax.

Responses

  • 200 application/json

    Successful response

    Hide response attributes Show response attributes object
    • cursor string(nonempty) Required

      A string that does not contain only whitespace characters

      Minimum length is 1.

    • data array[object] Required
      Hide data attributes Show data attributes object
      • _version string
      • @timestamp string(date-time)
      • created_at string(date-time) Required
      • created_by string Required
      • deserializer string
      • id string(nonempty) Required

        A string that does not contain only whitespace characters

        Minimum length is 1.

      • list_id string(nonempty) Required

        A string that does not contain only whitespace characters

        Minimum length is 1.

      • meta object

        Additional properties are allowed.

      • serializer string
      • tie_breaker_id string Required
      • type string Required

        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, or text.

      • updated_at string(date-time) Required
      • updated_by string Required
      • value string(nonempty) Required

        A string that does not contain only whitespace characters

        Minimum length is 1.

    • page integer Required

      Minimum value is 0.

    • per_page integer Required

      Minimum value is 0.

    • total integer Required

      Minimum value is 0.

  • 400 application/json

    Invalid input data response

    One of:
  • 401 application/json

    Unsuccessful authentication response

    Hide response attributes Show response attributes object
    • error string Required
    • message string Required
    • statusCode integer Required
  • 403 application/json

    Not enough privileges response

    Hide response attributes Show response attributes object
    • error string Required
    • message string Required
    • statusCode integer Required
  • 500 application/json

    Internal server error response

    Hide response attributes Show response attributes object
    • message string Required
    • status_code integer Required
GET /api/lists/items/_find
curl \
 --request GET 'http://localhost:5601/api/lists/items/_find?list_id=string' \
 --header "Authorization: $API_KEY"