Retrieve a value list item
GET / v1 / radar / value_list_items /:id
Retrieves a ValueListItem object.
Parameters
No parameters.
Returns
Returns a ValueListItem object if a valid identifier was provided.
Response
{ "id": "rsli_1MxxosLkdIwHu7ixxvA1yKiZ", "object": "radar.value_list_item", "created": 1681760074, "created_by": "API", "livemode": false, "value": "1.2.3.4", "value_list": "rsl_1MxxosLkdIwHu7ixNiiD01Kj"}
List all value list items
GET / v1 / radar / value_list_items
Returns a list of ValueListItem objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.
Parameters
- value _ list string Required Identifier for the parent value list this item belongs to.
- value string Return items belonging to the parent list whose value matches the specified value (using an “is like” match). The maximum length is 800 characters.
More parameters
- created object
- ending _ before string
- limit integer
- starting _ after string
Returns
A dictionary with a data property that contains an array of up to limit items, starting after item starting_after. Each entry in the array is a separate ValueListItem object. If no more items are available, the resulting array will be empty.
Response
Delete a value list item
DELETE / v1 / radar / value_list_items /:id
Deletes a ValueListItem object, removing it from its parent value list.
Parameters
No parameters.
Returns
Returns an object with the deleted ValueListItem object’s ID and a deleted parameter on success. Otherwise, this call raises an error.
Response
{ "id": "rsli_1MxxosLkdIwHu7ixxvA1yKiZ", "object": "radar.value_list_item", "deleted": true}
