Retrieve a calculated metric by ID
Changed onA calculated metric response includes these items: ID, name, description, dataview ID, owner, polarity, precision, and type
Other attributes can be optionally requested through the 'expansion' field:
- modified: Date that the metric was last modified (ISO 8601)
- definition: Calculated metric definition as JSON object
- compatibility: Products that the metric is compatible with
- tags: Gives all existing tags associated with the calculated metric
For more information, see the Calculated metrics overview
Request
- Base URL: https://cja.adobe.io
- URL: https://cja.adobe.io/calculatedmetrics/{id}
- Auth: none declared. Required headers: Authorization, x-api-key, x-gw-ims-org-id
Path parameters
The calculated metric ID to retrieve
Query parameters
Comma-delimited list of additional calculated metric metadata fields to include on response
Whether to include variables hidden in the UI or that are not permitted for the user
The dataview ID to be associated with the calculated metric. The dataview is used to determine compatibility and permissions. If not specified, the permissions are calculated based on the union of all metrics authorized in all groups the user belongs to. If the compatibility expansion is specified and toBeUsedInRsid is not, the compatibility returned is based on the compatibility from the last time the calculated metric was saved.
Locale
Headers
The access token copied from your CJA API client integration, prefixed with "Bearer ". For more information on how to obtain this value, see Getting started with the CJA API.
The API key copied from your CJA API client integration. For more information on how to obtain this value, see Getting started with the CJA API.
The Organization ID copied from your CJA API client integration. For more information on how to obtain this value, see Getting started with the CJA API.
Response
Successful operation
Changes
- info
added the enum value
usedInto the propertyitems/of thequeryrequest parameterexpansion
- info
- breaking
removed the enum value
reportSuiteNamefrom the propertyitems/of thequeryrequest parameterexpansion - warning
removed the optional property
from the response with the status
- breaking