Fetching package keys for more than one package
book
Article ID: KB0077077
calendar_today
Updated On:
TIBCO Cloud API Management
|
-
|
Description
How to fetch package keys for more than one package
Issue/Introduction
Fetching package keys for more than one package
Resolution
We can use a filter with a pipe "|" to fetch package keys for more than one package, Pipe "|" works an OR.
Sample curl call below which can fetch package keys from both packages TestABC and TestDEF
curl -k -i -v 'https://api.mashery.com/v3/rest/packageKeys?filter=package.name:TestABC|TestDEF' -H "Authorization: Bearer XXXXXXXXX" -H "Content-Type:application/json"
Feedback
thumb_up
Yes
thumb_down
No