Mask or limit fields in Portal API response

book

Article ID: 208537

calendar_today

Updated On:

Products

CA API Developer Portal

Issue/Introduction

We are using Portal APIs internally for getting information related to APIs, APPs etc.

But the Portal response contains so many fields and we don't want to expose unwanted data to internal applications.

Can we mask or change the fields in response sent by Portal APIs?

 

 

Environment

Release : 4.5

Component : API PORTAL

Resolution

currently there is not option to hide the response Model schema from the Portal API  explorer :

ref: 

https://apim.t5.dom1.dom2.net/admin/app/api-explorer

which  provide access to Portal APIs for programmatically interacting with your Portal , but it does not allow to customize this response to hide the values due the "Response Model" is hardcoded.

 Alternatives :

- you could create your own api from Portal and customize the response as needed.

- Feature can be raised as enhanement request from communities/ideas

https://community.broadcom.com/enterprisesoftware/communities/community-home/digestviewer?communitykey=0f580f5f-30a4-41de-a75c-e5f433325a18&tab=digestviewer