Title: How to filter the list during a RestAPI call?
Tags: api;rest
Question: I should access the list stored in another place. This list has only strings, but during an API call I should get not all of them, i.e. filter the data.
For example, here's the list:
Shop 1
Shop 2
Shop 3
Shop 4
And I want to get only 'Shop 1' and 'Shop 3'
Sample code:
api.appRest.get(&quot;o11.GetShopsList&quot;) // Should I add something here at the end?
Comment: Impossible to say because it's depends entirely on how the API is implemented.



{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 0, 'CommentCount': 1, 'ContentLicense': 'CC BY-SA 4.0', 'CreationDate': '2022:00:09/13/22', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<api><rest>', 'Title': 'How to filter the list during a RestAPI call?', 'ViewCount': 11, 'id': 73697955, 'user_AboutMe': '', 'user_AccountId': 18601394.0, 'user_DisplayName': 'Anastasia_2101', 'user_Reputation': 11.0, 'user_Views': 12.0, 'user_id': 13556256.0}}