Loading...
Loading...
Discover APIs published in an API Experience Hub portal as a portal consumer. Use when an end user needs to browse the catalog, search assets by keyword or filter, open an API's detail page, read its terms and conditions, or fetch rendered documentation pages and resources.
npx skill4agent add mulesoft/mulesoft-dx discover-portal-apismanage-portal-members-and-prospectstargetOrganizationIdportalIdtargetPortalIdtargetOrganizationIdtargetPortalIdapi: urn:api:api-experience-hub-consumer
operationId: listAssetsCommunityAsset
inputs:
targetOrganizationId:
userProvided: true
description: Anypoint organization ID hosting the portal
targetPortalId:
userProvided: true
description: Portal ID the user is browsing
outputs:
- name: assets
path: $.assets[*]
labels: $.assets[*].name
description: Assets published in the portal
- name: groupId
path: $.assets[*].groupId
description: Exchange groupId of an asset, used by detail-level operations
- name: assetId
path: $.assets[*].assetId
description: Exchange assetId of an asset
- name: minorVersion
path: $.assets[*].minorVersion
description: Minor version visible to the consumertargetOrganizationIdtargetPortalIdapi: urn:api:api-experience-hub-consumer
operationId: searchCommunityAssets
inputs:
targetOrganizationId:
from:
variable: targetOrganizationId
description: Anypoint organization ID hosting the portal
targetPortalId:
from:
variable: targetPortalId
description: Portal ID the user is browsing
searchRequest:
userProvided: true
description: Search criteria (free-text query, categories, tags, paging)
example:
searchTerm: orders
tags:
- v2
limit: 25
offset: 0
outputs:
- name: matchingAssets
path: $.assets[*]
labels: $.assets[*].name
description: Assets matching the search querytargetOrganizationIdtargetPortalIdgroupIdassetIdminorVersionapi: urn:api:api-experience-hub-consumer
operationId: getAssetDetails
inputs:
targetOrganizationId:
from:
variable: targetOrganizationId
description: Anypoint organization ID hosting the portal
targetPortalId:
from:
variable: targetPortalId
description: Portal ID the user is browsing
groupId:
from:
variable: groupId
description: Exchange groupId of the asset
assetId:
from:
variable: assetId
description: Exchange assetId of the asset
minorVersion:
from:
variable: minorVersion
description: Minor version to open
outputs:
- name: assetDetails
path: $
description: Full asset metadata, including instances and tiers available to requesttargetOrganizationIdtargetPortalIdgroupIdassetIdminorVersionapi: urn:api:api-experience-hub-consumer
operationId: getTermsAndConditions
inputs:
targetOrganizationId:
from:
variable: targetOrganizationId
description: Anypoint organization ID hosting the portal
targetPortalId:
from:
variable: targetPortalId
description: Portal ID the user is browsing
groupId:
from:
variable: groupId
description: Exchange groupId of the asset
assetId:
from:
variable: assetId
description: Exchange assetId of the asset
minorVersion:
from:
variable: minorVersion
description: Minor version whose terms to fetch
outputs:
- name: termsContent
path: $.content
description: Markdown/HTML content of the terms and conditionstargetOrganizationIdtargetPortalIdgroupIdassetIdminorVersionapi: urn:api:api-experience-hub-consumer
operationId: getAssetPages
inputs:
targetOrganizationId:
from:
variable: targetOrganizationId
description: Anypoint organization ID hosting the portal
targetPortalId:
from:
variable: targetPortalId
description: Portal ID the user is browsing
groupId:
from:
variable: groupId
description: Exchange groupId of the asset
assetId:
from:
variable: assetId
description: Exchange assetId of the asset
minorVersion:
from:
variable: minorVersion
description: Minor version to fetch pages for
pagePath:
userProvided: true
description: Optional documentation page path (leave empty to list all pages)
outputs:
- name: pageContent
path: $
description: The requested documentation page (or list of pages)targetOrganizationIdtargetPortalIdgroupIdassetIdminorVersionresourceIdapi: urn:api:api-experience-hub-consumer
operationId: getAssetResource
inputs:
targetOrganizationId:
from:
variable: targetOrganizationId
description: Anypoint organization ID hosting the portal
targetPortalId:
from:
variable: targetPortalId
description: Portal ID the user is browsing
groupId:
from:
variable: groupId
description: Exchange groupId of the asset
assetId:
from:
variable: assetId
description: Exchange assetId of the asset
minorVersion:
from:
variable: minorVersion
description: Minor version to fetch the resource from
resourceId:
userProvided: true
description: Resource ID obtained from the asset detail response
outputs:
- name: resourceContent
path: $
description: The binary/text resource contentrequest-api-accessmanage-portal-applications