We have extended our Early Bird Tickets for Inspire 2023! Discounted pricing goes until February 24th. Save your spot!

Alteryx Server Knowledge Base

Definitive answers from Server experts.

How To Use the Limit parameter in the Gallery API: GET /workflows/

junyak
Alteryx Alumni (Retired)
Created

In Gallery API, the parameter 'limit' is set but the call still returns all the jobs.
 

Example:
 
http://localhost:80/gallery/api/v1/workflows/60bdbe79a4e9850ba809b572/jobs/?limit=1&oauth_timestamp=1623051186&oauth_signature_method=HMAC-SHA1&oauth_consumer_key=8D9297F3EDF112Fb4ba2b8768cfaf0d9cb615bef4c23178023f57cc&oauth_version=1.0&oauth_nonce=daDLb&oauth_signature=7ca9SsdVbm2SnrtHDLaZc7r76Wo%3D




'Limit' and 'Offset' are part of the paging functions, so they need to be set together.
 
http://localhost:80/gallery/api/v1/workflows/60bdbe79a4e9850ba809b572/jobs/?offset=0&limit=1&oauth_timestamp=1623111224&oauth_signature_method=HMAC-SHA1&oauth_consumer_key=8D9297F3EDF112Fb4ba2b8768cfaf0d9cb615bef4c23178023f57cc&oauth_version=1.0&oauth_nonce=v8oFb&oauth_signature=ETj%2FzfhadoTKCofYahrImKlFQpo%3D