The iteration mode to use. If "after", then entries after the provided
cursor will be returned, or if no cursor is provided, then from the
beginning. If "before", then entries before the provided cursor will be
returned, or if no cursor is provided, then from the end. Entries will
always be returned in the specified sort-by order.
Allowed values: afterbefore
prune
list of enumsOptional
List of fields which are not required in the payload and can be
pruned away.
Allowed values: composite_schemasfields
sort_by
list of stringsOptional
The list of fields to sort the items by and how to sort them.
Response
This endpoint returns an object
result
list of objects
The stock schema fragments.
next_cursor
stringOptional
The cursor used to iterate subsequent results in accordance to the
sort order. If not set, then no later elements exist.
prev_cursor
stringOptional
The cursor used to iterate preceding results in accordance to the
sort order. If not set, then no prior elements exist.
POST
1
curl -X POST https://api.devrev.ai/schemas.stock.list \