Mask or limit fields in Portal API response
search cancel

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://<TenantName>/admin/app/api-explorer

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

 Alternatives :

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

- Feature can be raised as an enhancement request from our communities/ideas

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