Fred Martin Posted February 26, 2022 Posted February 26, 2022 (edited) Hello, Is it possible to limit the results for GET requests on e.g. /core/members/{id} endpoint? We don't want details such as the email and IP addresses to be included in the json response. Edited February 26, 2022 by Fred Martin
Randy Calvert Posted February 26, 2022 Posted February 26, 2022 There is not a native way to limit the results for the endpoint. A credential either has access to the resource or they do not. Fred Martin 1
Fred Martin Posted February 27, 2022 Author Posted February 27, 2022 All right. Wouldn't IPS clients benefit from a functionality where endpoints can be restricted via user group permissions? We're looking to use https://www.mediawiki.org/wiki/Extension:External_Data to get data from our IP forum, but obviously if we do it via REST API as it is currently, our wiki editors could query sensitive data.
Randy Calvert Posted February 27, 2022 Posted February 27, 2022 You can make a feature request in the feature request forum if you would like IPS to consider it. We can only explain what is available today. 🙂
Solution Marc Posted February 28, 2022 Solution Posted February 28, 2022 Its restricted at present by item and not by things within that item. For example members, forums etc. You would indeed need to post that up as a request for a new feature within our feature request forum, if you wish to see this appear in a future release.
Recommended Posts