List Schemas Stock (POST)
Lists stock schema fragments.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
cursor
The cursor to resume iteration from. If not provided, then
iteration starts from the beginning.
filter_preset
Allowed values:
leaf_type
The list of leaf types.
limit
The maximum number of items.
mode
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:
prune
List of fields which are not required in the payload and can be
pruned away.
Allowed values:
sort_by
The list of fields to sort the items by and how to sort them.
Response
Success.
result
The stock schema fragments.
next_cursor
The cursor used to iterate subsequent results in accordance to the
sort order. If not set, then no later elements exist.
prev_cursor
The cursor used to iterate preceding results in accordance to the
sort order. If not set, then no prior elements exist.