Using the application commands
You can use the application commands to get and list the applications on your Developer Portal service.
- Log in as Provider org:
apic login --server management_server --realm provider/identity_provider --username provider_username --password provider_passwordYou can determine which identity provider to use in the
--realmparameter by entering the following command to see a list of all available identity providers (you do not need to be logged in to use this command):
apic identity-providers:list --scope provider --server mgmt_endpoint_url --fields title,realm
apic identity-providers:list --scope provider --server myserver.com --fields title,realm total_results: 2 results: - title: Cloud Manager User Registry realm: provider/default-idp-2 - title: Corporate LDAP user registry realm: provider/corporate-ldap
titlevalue should enable you to determine which identity provider to use; you can then copy the corresponding
--realmparameter directly from the displayed
realmvalue. For any identity providers that were created by your administrator after API Connect was installed, the names will have been determined at creation time. The default API Manager Local User Registry for login as a member of a provider organization is
For full details of the
apic logincommand, see Logging in to a management server.
- List the applications on a site. For example,
apic --mode portaladmin application:list --org orgid/name --server management_server --catalog name/id
- Get an application from a site by using application id.For example,
apic --mode portaladmin application:get --org orgid/name --server management_server --catalog name/id id