If collectionid exists within the request, your api should return products within this collection. if not return all products. For pagination : use per_page and page as listed in the image above.
stock_status
or quantity
so we can show/hide products in your catalog