resource type
resource type
The OLP CLI supports the following HERE API commands:
- resource type list to list all resource types
resource type list
List resource types
olp resource type list [command parameters]Optional parameters:
--credentials <path to credentials file>The name of a credentials file to use with the command. Credentials files are downloaded separately from the HERE platform portal.--limit <max items>Maximum items to return.--profile <profile name>The name of the credentials profile to use from theolpcli.inifile.--jsonDisplays the command result in JSON format.--quietReduces the output to essential values only, in this case it will be comma separated resource types.
For more information on using credentials and profiles, see Credentials setup.
Example:
The command below shows resource type in verbose format.
olp resource type listOutput:
resourceType serviceIdAlias serviceId
testresource testresourceservice SERVICE-2c68ac31-8397-4ca8-b3557e012d4813a69
lastmile tracking SERVICE-b470f80f-726d-41e8-8b5a-cd164f2ce35f
Example:
The command below shows resource type. The output is in quite format.
olp resource type list --quiteOutput:
testresource, lastmileUpdated 22 days ago