Operations on approvals
POST /approvals
Takes an array of components and marks them all as "Approved"
Array containing a list of Component objects to be marked as "Approved"
Name : body
Flags : optional
Type : < Approval > array
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | Approval |
400 | Invalid JSON input | No Content |
403 | Insufficient access to perform operation; only admins can approve components | No Content |
500 | Internal Server Error; unable to create approvals for the specified components | No Content |
application/json
application/json
Returns a list of approval objects for the current user. Response is paged based on the provided paging criteria.
GET /approvals
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query | limit optional |
Number of results per page | integer | 10 |
Query | page optional |
Page number (base 0 - first page is "0") | integer | 0 |
Query | userid optional |
The user ID to return details for. Only admins may use this query parameter. | integer (int32) |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | < Approval > array |
400 | Invalid JSON input | No Content |
403 | Insufficient access to perform operation | No Content |
500 | Internal Server Error; unable to retrieve approvals | No Content |
application/json
DELETE /approvals
Only Admins can create and delete approvals.
Type | Name | Description | Schema |
---|---|---|---|
Query | componentIds optional |
Comma-delimited list of componentIds for which to remove approvals | string |
Query | componentType required |
Type of component | enum (segment, dashboard, bookmark, calculatedMetric, project, dateRange, metric, dimension, virtualReportSuite, scheduledJob, alert, classificationSet) |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | < < string, object > map > array |
400 | Invalid JSON input | No Content |
403 | Insufficient access to perform operation; only admins can un-approve a segment | No Content |
500 | Internal Server Error; unable to delete approvals for the specified components | No Content |
application/json
GET /approvals/{id}
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
The approval ID to be returned | integer (int64) |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | Approval |
403 | Insufficient access to perform operation | No Content |
404 | The specified approvalId could not be found | No Content |
500 | Internal Server Error; unable to retrieve the specified approval | No Content |
application/json
DELETE /approvals/{id}
Only admins can create and delete approvals
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
The approval ID to be deleted | integer (int64) |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | < string, object > map |
403 | Insufficient access to perform operation; user does not have access to delete the approval. | No Content |
404 | The specified approval does not exist | No Content |
500 | Internal Server Error; unable to delete the specified approval | No Content |
application/json
POST /calculatedmetrics
Creates a new calculated metric. The following attributes are available when creating a calculated metric:
IMPORTANT: Required Fields: name, definition, rsid
Optional fields: description
Example definition for use in testing API below ("Page exists"):
{"definition":{},"version":[1,0,0]}
A calculated metric response will always include these default items:* id, name, description, rsid, owner*
Other attributes can be optionally requested through the 'expansion' field as defined/documented in the GET endpoints (see GET "/calculatedmetrics" or GET "/calculatedmetrics/{id}" for more documentation).
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query | expansion optional |
Comma-delimited list of additional calculated metric metadata fields to include on response. | < enum (reportSuiteName, siteTitle, ownerFullName, modified, isDeleted, approved, favorite, shares, tags, sharesFullName, usageSummary, usageSummaryWithRelevancyScore, definition, authorization, compatibility, warning) > array(multi) | |
Query | locale optional |
Locale | string | "en_US" |
JSON-formatted Object containing key/value pairs for calculated metric creation.
Name : body
Flags : optional
Type : AnalyticsCalculatedMetric
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | AnalyticsCalculatedMetric |
400 | Invalid input; name, rsid, and definition are all required. Definition must be formatted as a JSON Object. | CalculatedMetricErrorStatus |
500 | External API error; Calculated metric create or retrieval failed | CalculatedMetricErrorStatus |
application/json
application/json
GET /calculatedmetrics
A calculated metric response will always include these default items: id, name, description, rsid, owner
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
- reportSuiteName: Also return the friendly Report Suite name for the RSID
- favorite: True if calculated metric has been marked as a 'Favorite'
- tags: Gives all existing tags associated with the calculated metric
- approved: True if calculated metric has been marked as 'Approved'
- shares: Gives all existing shares for the calculated metric
- sharesFullName: Give 'shares', but also include the shared-to user's friendly login name as 'shareToDisplayName' in each share object
- ownerFullName: Add friendly full login name (string) to the 'owner' object
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query | approved optional |
Filter list to only include calculated metrics that are approved | boolean | |
Query | calculatedMetricFilter optional |
Filter list to only include calculated metrics in the specified list (comma-delimited list of IDs) | string | |
Query | expansion optional |
Comma-delimited list of additional calculated metric metadata fields to include on response. | < enum (reportSuiteName, siteTitle, ownerFullName, modified, isDeleted, approved, favorite, shares, tags, sharesFullName, usageSummary, usageSummaryWithRelevancyScore, definition, authorization, compatibility, warning) > array(multi) | |
Query | favorite optional |
Filter list to only include calculated metrics that are favorites | boolean | |
Query | filterByIds optional |
Filter list to only include calculated metrics in the specified list (comma-delimited list of IDs) (this is the same as calculatedMetricFilter, and is overwritten by calculatedMetricFilter | string | |
Query | filterByModifiedAfter optional |
Filter list to only include calculated metrics modified since this date (ISO8601 format) | string | |
Query | limit optional |
Number of results per page | integer | 10 |
Query | locale optional |
Locale | string | "en_US" |
Query | name optional |
Filter list to only include calculated metrics that contains the Name | string | |
Query | ownerId optional |
Filter list to only include calculated metrics owned by the specified loginId | integer (int32) | |
Query | page optional |
Page number (base 0 - first page is "0") | integer | 0 |
Query | pagination optional |
return paginated results | enum (true, false) | "false" |
Query | rsids optional |
Filter list to only include calculated metrics tied to specified RSID list (comma-delimited) | string | |
Query | tagNames optional |
Filter list to only include calculated metrics that contains one of the tags | string |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | < AnalyticsCalculatedMetric > array |
400 | Unable to retrieve list of calculated metrics shared with user | CalculatedMetricErrorStatus |
401 | Owner filter error; user specified is not in the same company as the requesting user | CalculatedMetricErrorStatus |
403 | Requesting non-shared calculated metrics for other users is restricted to admin users | CalculatedMetricErrorStatus |
500 | External API error; Calculated metric retrieval failed | CalculatedMetricErrorStatus |
application/json
GET /calculatedmetrics/functions
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query | locale optional |
Locale | string | "en_US" |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | < CalcMetricFunction > array |
500 | External API error; Calculated metric functions retrieval failed | CalculatedMetricErrorStatus |
application/json
GET /calculatedmetrics/functions/{id}
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path | id required |
The function ID to retrieve | string | |
Query | locale optional |
Locale | string | "en_US" |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | CalcMetricFunction |
404 | Calculated metric function not found | CalculatedMetricErrorStatus |
500 | External API error; Calculated metric function retrieval failed | CalculatedMetricErrorStatus |
application/json
GET /calculatedmetrics/{id}
A calculated metric response will always include these default items: id, name, description, rsid, owner
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
- reportSuiteName: Also return the friendly Report Suite name for the RSID
- favorite: True if calculated metric has been marked as a 'Favorite'
- tags: Gives all existing tags associated with the calculated metric
- approved: True if calculated metric has been marked as 'Approved'
- shares: Gives all existing shares for the calculated metric
- sharesFullName: Give 'shares', but also include the shared-to user's friendly login name as 'shareToDisplayName' in each share object
- ownerFullName: Add friendly full login name (string) to the 'owner' object
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path | id required |
The calculated metric ID to retrieve | string | |
Query | expansion optional |
Comma-delimited list of additional calculated metric metadata fields to include on response. | < enum (reportSuiteName, siteTitle, ownerFullName, modified, isDeleted, approved, favorite, shares, tags, sharesFullName, usageSummary, usageSummaryWithRelevancyScore, definition, authorization, compatibility, warning) > array(multi) | |
Query | locale optional |
Locale | string | "en_US" |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | AnalyticsCalculatedMetric |
403 | Requesting non-shared calculated metrics for other users is restricted to admin users | CalculatedMetricErrorStatus |
500 | External API error; calculated metric retrieval failed | CalculatedMetricErrorStatus |
application/json
PUT /calculatedmetrics/{id}
The following fields can be modified through this endpoint:
name, description, definition, owner, rsidExample "defintion" for use in testing API below ("Page exists"):
"definition":{},"version":[1,0,0]}
Response will be the newly modified calculated metric object after the update request completes.
CalculatedMetricResponse
A calculated metric response will always include these default items:* id, name, description, rsid, owner*
Other attributes can be optionally requested through the 'expansion' field as defined/documented in the GET endpoints (see GET "/calculatedmetrics" or GET "/calculatedmetrics/{id}" for more documentation).
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path | id required |
Calculated Metric ID to be updated | string | |
Query | expansion optional |
Comma-delimited list of additional calculated metric metadata fields to include on response. | < enum (reportSuiteName, siteTitle, ownerFullName, modified, isDeleted, approved, favorite, shares, tags, sharesFullName, usageSummary, usageSummaryWithRelevancyScore, definition, authorization, compatibility, warning) > array(multi) | |
Query | locale optional |
Locale | string | "en_US" |
JSON-formatted Object containing key/value pairs to be updated.
Name : body
Flags : optional
Type : AnalyticsCalculatedMetric
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | AnalyticsCalculatedMetric |
400 | Definition must be formatted as a JSON Object | CalculatedMetricErrorStatus |
401 | Company mismatch; calculated metric ownership can only be transferred within the same organization | CalculatedMetricErrorStatus |
403 | User does not have permission to update this calculated metric | CalculatedMetricErrorStatus |
500 | External API error; Calculated metric update or retrieval failed | CalculatedMetricErrorStatus |
application/json
application/json
DELETE /calculatedmetrics/{id}
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path | id required |
The calculated metric ID to be deleted | string | |
Query | locale optional |
Locale | string | "en_US" |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | DeleteResponse |
500 | External API error; Calculated metric delete failed | CalculatedMetricErrorStatus |
application/json
POST /classifications/dataset
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | ClassificationSet |
application/json
GET /classifications/dataset
Type | Name | Description | Schema |
---|---|---|---|
Query | limit optional |
Documents per page | integer (int32) |
Query | page optional |
Page | integer (int32) |
Query | sortField optional |
Sort field | enum (name, modified, created) |
Query | sortOrder optional |
Sort order | enum (asc, desc) |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | < ClassificationSet > array |
application/json
POST /classifications/dataset/search
Type | Name | Description | Schema |
---|---|---|---|
Query | limit optional |
Documents per page | integer (int32) |
Query | page optional |
Page | integer (int32) |
Query | sortField optional |
Sort field | enum (name, modified, created) |
Query | sortOrder optional |
Sort order | enum (asc, desc) |
JSON-formatted Object containing key/value pairs for search.
Name : body
Flags : optional
Type : ClassificationSetFilterArgs
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | < ClassificationSet > array |
application/json
GET /classifications/dataset/{id}
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
The id for which to retrieve information | string |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | ClassificationSet |
application/json
PUT /classifications/dataset/{id}
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
The id for the classification set to update | string |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | ClassificationSet |
application/json
DELETE /classifications/dataset/{id}
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
The id for the classification set to delete | string |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | ClassificationSet |
application/json
POST /classifications/dataset/{id}/export
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
The id for the classification set for which to import data | string |
Job export options
Name : body
Flags : optional
Type : JobExportOptions
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | ClassificationJob |
application/json
GET /classifications/jobs
Type | Name | Description | Schema |
---|---|---|---|
Query | datasetId optional |
ClassificationSetId filter | string |
Query | limit optional |
Documents per page (minimum limit is 10) | integer (int32) |
Query | page optional |
Page | integer (int32) |
Query | sortField optional |
Sort field | enum (type, name) |
Query | sortOrder optional |
Sort order | enum (asc, desc) |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | < ClassificationJob > array |
application/json
GET /classifications/jobs/{id}
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
The job id for which to retrieve information | string |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | ClassificationJob |
application/json
GET /classifications/jobs/{id}/artifact
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
The job id for which to retrieve information | string |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | JobArtifactResponse |
application/json
GET /classifications/jobs/{id}/artifact/{artifactId}
Type | Name | Description | Schema |
---|---|---|---|
Path | artifactId required |
The artifact id for which to retrieve information | string |
Path | id required |
The job id for which to retrieve information | string |
HTTP Code | Description | Schema |
---|---|---|
default | successful operation | No Content |
GET /classifications/unclassified/{classificationSetId}
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path | classificationSetId required |
The id for which to retrieve information | string | |
Query | allowRemoteLoad optional |
Controls if Oberon should remote load data. Default behavior is true with fallback to false if remote data does not exist | enum (true, false, default) | "default" |
Query | dateRange optional |
Format: YYYY-MM-DD/YYYY-MM-DD | string | |
Query | dimension required |
Dimension to run the report against | string | |
Query | endDate optional |
Format: YYYY-MM-DD | string | |
Query | includeOberonXml optional |
Controls if Oberon XML should be returned in the response - DEBUG ONLY | enum (true, false) | "false" |
Query | rsid required |
RSID to run the report against | string | |
Query | startDate optional |
Format: YYYY-MM-DD | string |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | RankedReportData |
application/json
Analytics Collections
GET /collections/suites
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query | expansion optional |
Comma-delimited list of additional metadata fields to include on response. | < enum (name, parentRsid, numGroups, currency, calendarType, currentTimezoneOffset, timezoneZoneinfo) > array(multi) | |
Query | limit optional |
Number of results per page | integer | 10 |
Query | page optional |
Page number (base 0 - first page is "0") | integer | 0 |
Query | rsidContains optional |
Filter list to only include suites whose rsid contains rsidContains. | string | |
Query | rsids optional |
Filter list to only include suites in this RSID list (comma-delimited) | string | |
Query | userGroupId optional |
Filter list to only include suites that are in the given userGroupId | integer (int32) |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | SuiteCollectionItem |
500 | Unexpected error; report suite retrieval failed | No Content |
application/json
GET /collections/suites/{rsid}
Type | Name | Description | Schema |
---|---|---|---|
Path | rsid required |
The rsid of the suite to return | string |
Query | expansion optional |
Comma-delimited list of additional metadata fields to include on response. | < enum (name, parentRsid, numGroups, currency, calendarType, currentTimezoneOffset, timezoneZoneinfo) > array(multi) |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | SuiteCollectionItem |
500 | Unexpected error; report suite retrieval failed | No Content |
application/json
Analytics Company Service
GET /companies/me
Type | Name | Description | Schema |
---|---|---|---|
Query | expansion optional |
Comma-delimited list of company expansions. | < enum (validEmails, allowAdobeEmails, companySecurity, billingTabAccess) > array(multi) |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | Company |
500 | Unexpected error; company retrieval failed | No Content |
application/json
GET /companies/me/trackingserver
Type | Name | Description | Schema |
---|---|---|---|
Query | rsid required |
The rsid to use if this company does not require namespace use. | string |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | AnalyticsTrackingServer |
500 | Unexpected error; tracking server retrieval failed | No Content |
application/json
Dimensions service
GET /dimensions
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query | classifiable optional |
Only include classifiable dimensions. | enum (true) | |
Query | dataGovernanceLabels optional |
Filter the response based on data governance labels. Search for multiple lables using a comma-delimited string format. Any metric/dimension containing one or more of the provided labels will be returned. | < string > array(multi) | |
Query | dataGovernanceNamespaces optional |
Filter the response based on data governance namespaces. Search for multiple namespaces using a comma-delimited string format. Any dimension containing one or more of the provided namespaces will be returned. | < string > array(multi) | |
Query | expansion optional |
Add extra metadata to items (comma-delimited list) | < enum (tags, approved, favorite, usageSummary, attributes) > array(multi) | |
Query | locale optional |
Locale | string | "en_US" |
Query | reportTimeAttribution optional |
Only include dimensions that support reportTimeAttribution. | enum (true) | |
Query | reportable optional |
Only include dimensions that are valid within a report. | enum (true) | |
Query | rsid required |
A Report Suite ID | string | |
Query | segmentable optional |
Only include dimensions that are valid within a segment. | enum (true) | |
Query | support optional |
Comma-delimited list of products to filter the dimension list by. Possible values are 'oberon' and 'dataWarehouse'. | < enum (oberon, dataWarehouse) > array(multi) | |
Query | supportsDataGovernance optional |
Only include dimensions that contain dataGovernance attribute. | enum (true) | |
Query | useCache optional |
Enable caching for faster requests. | boolean | "true" |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | < AnalyticsDimension > array |
400 | Invalid JSON input | No Content |
401 | User does not have access to this report suite | No Content |
500 | Unexpected internal server error | No Content |
application/json
GET /dimensions/datagovernance/namespaces
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query | useCache optional |
Enable caching | boolean | "true" |
HTTP Code | Description | Schema |
---|---|---|
200 | Success status | < string > array |
application/json
POST /dimensions/values
Given a dimension name and an itemId, this endpoint returns the text value for that itemId
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query | dateRange optional |
Optionally supply the date range for filtering dimension values (default is last 90 days). Example format: 2014-06-01/2014-06-30 (gives June 2014) | string | |
Query | locale optional |
Locale to use when returning dimension information. | string | "en_US" |
Query | rsid required |
The report suite ID | string |
Array of dimensionItem objects where each element contains key-value pairs for "dimension" and "itemId"
Name : body
Flags : required
Type : < DimensionItem > array
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | < DimensionItem > array |
400 | Invalid JSON input | No Content |
403 | Insufficient access to perform operation | No Content |
500 | Unexpected internal server error | No Content |
application/json
GET /dimensions/{dimensionId}
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path | dimensionId required |
The dimension ID. For example a valid id is a value like 'evar1' | string | |
Query | expansion optional |
Add extra metadata to items (comma-delimited list) | < enum (tags, approved, favorite, usageSummary, attributes) > array(multi) | |
Query | locale optional |
The locale to use for returning system named dimensions. | string | "en_US" |
Query | rsid required |
The report suite ID. | string |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | AnalyticsDimension |
401 | User Doesn't have sufficient privileges | No Content |
application/json
Operations on managing favorites on components
POST /favorites
Accepts an array of Favorite objects to allow creation of one or many 'favorite' records in a single call.
JSON-formatted ARRAY containing a list of favorite objects
Name : body
Flags : required
Type : < Favorite > array
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | Favorite |
application/json
application/json
GET /favorites
Returns an array of all of the favorites objects tied to the company. Setting a very large page size will return the list in a single request, but it may be more data than you expect and you may experience performance issues.
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query | componentIds optional |
Comma-delimited list of componentIds to filter on. Must also pass componentType. | string | |
Query | componentType optional |
The component type to filter on. Required if also using componentIds filter. | enum (segment, dashboard, bookmark, calculatedMetric, project, dateRange, metric, dimension, virtualReportSuite, scheduledJob, alert, classificationSet) | |
Query | limit optional |
Number of results per page | integer | 10 |
Query | page optional |
Page number (base 0 - first page is "0") | integer | 0 |
Query | userid optional |
The user ID to return details for. Only admins may use this option. | integer (int32) |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | < Favorite > array |
application/json
Deletes favorites by componentId. Accepts a list of componentIds and deletes any "Favorites" associated with them
DELETE /favorites
Deletes favorites based on componentIds.
Type | Name | Description | Schema |
---|---|---|---|
Query | componentIds required |
A comma separated list of component Ids | string |
Query | componentType required |
The component type to operate on. | enum (segment, dashboard, bookmark, calculatedMetric, project, dateRange, metric, dimension, virtualReportSuite, scheduledJob, alert, classificationSet) |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | < < string, object > map > array |
application/json
GET /favorites/{id}
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
The id of the "Favorite" record to return | integer (int64) |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | Favorite |
application/json
DELETE /favorites/{id}
Deletes by favoriteId.
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
The id of the favorite | integer (int64) |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | < string, object > map |
400 | Attempting to remove a favorite by id that does not exist | No Content |
403 | Attempting to remove a favorite for a user other than the authenticated user | No Content |
application/json
Retrieves a List of Metrics for the Given Report Suite
GET /metrics
This returns the metrics list primarily for the Analytics product. The platform identity API Returns a list of all possible metrics for the supported systems.
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query | expansion optional |
Add extra metadata to items (comma-delimited list) | < enum (tags, approved, favorite, usageSummary, attributes) > array(multi) | |
Query | locale optional |
Locale that system named metrics should be returned in | string | "en_US" |
Query | rsid required |
ID of desired report suite ie. sistr2 | string | |
Query | segmentable optional |
Filter the metrics by if they are valid in a segment. | boolean | "false" |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | AnalyticsMetric |
400 | Invalid JSON input | No Content |
403 | Insufficient access to perform operation | No Content |
500 | Unexpected internal server error | No Content |
application/json
GET /metrics/{id}
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path | id required |
The id of the metric for which to retrieve info. Note ids are values like pageviews, not metrics/pageviews | string | |
Query | expansion optional |
Add extra metadata to items (comma-delimited list) | < enum (tags, approved, favorite, usageSummary, attributes) > array(multi) | |
Query | includeHidden optional |
Whether to include variables that are hidden in the UI or that the user doesn't have permission to. | boolean | "false" |
Query | locale optional |
Locale that system named metrics should be returned in | string | "en_US" |
Query | rsid required |
ID of desired report suite ie. sistr2 | string |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | AnalyticsMetric |
400 | Invalid JSON input | No Content |
403 | Insufficient access to perform operation | No Content |
500 | Unexpected internal server error | No Content |
application/json
Ranked reports service
POST /reports
See the Reporting Interface wiki page for details.
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query | allowRemoteLoad optional |
Controls if Oberon should remote load data. Default behavior is true with fallback to false if remote data does not exist | enum (true, false, default) | "default" |
Query | includeOberonXml optional |
Controls if Oberon XML should be returned in the response - DEBUG ONLY | enum (true, false) | "false" |
Query | includePlatformPredictiveObjects optional |
Controls if platform Predictive Objects should be returned in the response. Only available when using Anomaly Detection or Forecasting- DEBUG ONLY | enum (true, false) | "false" |
Query | useCache optional |
Use caching for faster requests (Use cached dimensions to speed up permission checks - This does not do any report caching) | boolean | "true" |
Query | usesCatalogIdentities optional |
Whether this ranked request uses Catalog identities (true) or usual Analytics identities (false). Uses server default (host specific) when not passed. | boolean |
Name : body
Flags : optional
Type : RankedRequest
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | RankedReportData |
400 | Invalid input; name, rsid, and definition are all required. Definition must be formatted as a JSON Object. | ReportErrorStatus |
application/json
application/json
POST /reports/ranked
See the Reporting Interface wiki page for details.
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query | allowRemoteLoad optional |
Controls if Oberon should remote load data. Default behavior is true with fallback to false if remote data does not exist | enum (true, false, default) | "default" |
Query | includeOberonXml optional |
Controls if Oberon XML should be returned in the response - DEBUG ONLY | enum (true, false) | "false" |
Query | includePlatformPredictiveObjects optional |
Controls if platform Predictive Objects should be returned in the response. Only available when using Anomaly Detection or Forecasting- DEBUG ONLY | enum (true, false) | "false" |
Query | useCache optional |
Use caching for faster requests (Use cached dimensions to speed up permission checks - This does not do any report caching) | boolean | "true" |
Query | usesCatalogIdentities optional |
Whether this ranked request uses Catalog identities (true) or usual Analytics identities (false). Uses server default (host specific) when not passed. | boolean |
Name : body
Flags : optional
Type : RankedRequest
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | RankedReportData |
400 | Invalid input; name, rsid, and definition are all required. Definition must be formatted as a JSON Object. | ReportErrorStatus |
application/json
application/json
POST /reports/segmentSummary
Requires rsid and definition. Used to validate a segment definition and return basic reporting metrics for that definition.
The response contains products that the definition is compatible with, as well as a series of totals that represent how many Page Views, Visits, and Visitors the segment includes.
Format for the order of Totals in response:
-
Number of Page Views that the segment includes for the given time period
-
Number of Visits that the segment includes for the given time period
-
Number of Unique Visitors that the segment includes for the given time period
-
Total number of Page Views for the time period (non-segmented)
-
Total number of Visits for the time period (non-segmented)
-
Total number of Unique Visitors for the time period (non-segmented)
The overall totals (3-6) can be used with the segment totals (1-3) to determine the percentage of the segment's audience for each metric.
Example definition for use in testing API below ("Page exists"):
{
"func": "segment",
"container": {
"func": "container",
"context": "hits",
"pred": {
"func": "exists",
"description": "Page",
"val": {
"func": "attr",
"name": "variables/page"
}
}
},
"version": [1, 0, 0]
}
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query | allowRemoteLoad optional |
Controls if Oberon should remote load data. Default behavior is true with fallback to false if remote data does not exist | enum (true, false, default) | "default" |
Query | dateRange optional |
Format: YYYY-MM-DD/YYYY-MM-DD | string | |
Query | endDate optional |
Format: YYYY-MM-DD | string | |
Query | includeOberonXml optional |
Controls if Oberon XML should be returned in the response - DEBUG ONLY | enum (true, false) | "false" |
Query | includeVisitorsMcvisid optional |
Controls if Visitors with Experience Cloud ID should be returned in the response | enum (true, false) | "false" |
Query | locale optional |
Locale | string | "en_US" |
Query | rsid required |
RSID to run the report against | string | |
Query | startDate optional |
Format: YYYY-MM-DD | string |
Segment definition
Name : body
Flags : required
Type : string
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | SegmentSummaryResponse |
400 | Bad JSON input; request not formatted correctly | No Content |
403 | User does not have access to run this report | No Content |
500 | Unexpected error; failed to run report | No Content |
application/json
application/json
GET /reports/topItems
Get the top X items (based on paging restriction) for the specified dimension and rsid. Defaults to last 90 days.
Search Clause examples: contains test: 'test'
contains test or test1: 'test' OR 'test1'
contains test and test1: 'test' AND 'test1'
contains test and not (test1 or test2): 'test' AND NOT ('test1' OR 'test2')
does not contain test: NOT 'test'
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query | allowRemoteLoad optional |
Controls if Oberon should remote load data. Default behavior is true with fallback to false if remote data does not exist | enum (true, false, default) | "default" |
Query | dateRange optional |
Format: YYYY-MM-DD/YYYY-MM-DD | string | |
Query | dimension required |
Dimension to run the report against. Example: "variables/page" | string | |
Query | endDate optional |
Format: YYYY-MM-DD | string | |
Query | includeOberonXml optional |
Controls if Oberon XML should be returned in the response - DEBUG ONLY | enum (true, false) | "false" |
Query | limit optional |
Number of results per page | integer | 10 |
Query | locale optional |
Locale | string | "en_US" |
Query | page optional |
Page number (base 0 - first page is "0") | integer | 0 |
Query | rsid required |
RSID to run the report against | string | |
Query | search-clause optional |
General search string; wrap with single quotes. Example: 'PageABC' | string | |
Query | searchAnd optional |
Search terms that will be AND-ed together. Space delimited. | string | |
Query | searchNot optional |
Search terms that will be treated as NOT including. Space delimited. | string | |
Query | searchOr optional |
Search terms that will be OR-ed together. Space delimited. | string | |
Query | searchPhrase optional |
A full search phrase that will be searched for. | string | |
Query | startDate optional |
Format: YYYY-MM-DD | string |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | UnhashReportData |
403 | User does not have access to run this report | No Content |
500 | Unexpected error; failed to run report | No Content |
application/json
Analytics Report Suite Service
GET /reportsuites
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query | expansion optional |
Comma-delimited list of additional report suite metadata fields to include on response. | < enum (calendarType, reportSuiteName, baseUrl, defaultPage, currency, calendarAnchorDate, timezone, timezoneZoneinfo) > array(multi) | |
Query | limit optional |
Number of results per page | integer | 10 |
Query | page optional |
Page number (base 0 - first page is "0") | integer | 0 |
Query | rsidContains optional |
Filter list to only include suites whose rsid contains rsidContains. | string | |
Query | rsidOrNameContains optional |
Filter list to only include suites whose rsid or report suite name contains rsidOrNameContains. | string | |
Query | rsids optional |
Filter list to only include suites in this RSID list (comma-delimited) | string |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | AnalyticsReportSuite |
500 | Unexpected error; report suite retrieval failed | No Content |
application/json
GET /reportsuites/{rsid}/calendartype
Type | Name | Description | Schema |
---|---|---|---|
Path | rsid required |
rsid | string |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | CalendarType |
500 | Unexpected error; retrieval of report suite calendar type failed due to an internal error | No Content |
application/json
These operations manage Adobe Analytics Segments. Segments are used to isolate interesting groups of visitors, visits, or hits.
POST /segments
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query | expansion optional |
Comma-delimited list of additional segment metadata fields to include on response. | < enum (reportSuiteName, siteTitle, ownerFullName, modified, approved, favorite, shares, tags, sharesFullName, usageSummary, compatibility, definition) > array(multi) | |
Query | locale optional |
Locale | string | "en_US" |
Query | version optional |
Decides the version of segment service | enum (old, new) | "old" |
JSON-formatted Object containing key/value pairs for segment creation.
Name : body
Flags : optional
Type : < string, object > map
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | AnalyticsSegmentResponseItem |
400 | Invalid input; name, rsid, and definition are all required. Definition must be formatted as a JSON Object. | No Content |
500 | External API error; Segment create or retrieval failed | No Content |
application/json
application/json
GET /segments
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query | curatedRsid optional |
Include the curatedItem status for given report suite ID | string | |
Query | dataGroup optional |
Filter list to only include segments with the given data group | string | |
Query | dataType optional |
Filter list to only include segments compatible with the specified product | enum (dw, oberon) | |
Query | expansion optional |
Comma-delimited list of additional segment metadata fields to include on response. | < enum (reportSuiteName, siteTitle, ownerFullName, modified, approved, favorite, shares, tags, sharesFullName, usageSummary, compatibility, definition) > array(multi) | |
Query | filterByIds optional |
Filter list to only include segments in the specified list (comma-delimited list of IDs) (this is the same as segmentFilter, and is overwritten by segmentFilter | string | |
Query | filterByModifiedAfter optional |
Filter list to only include segments modified since this date (ISO8601 format) | string | |
Query | includeType optional |
Include additional segments not owned by user. The "all" option takes precedence over "shared" | < enum (shared, all, templates, deleted, internal, curatedItem) > array(multi) | |
Query | limit optional |
Number of results per page | integer | 10 |
Query | locale optional |
Locale | string | "en_US" |
Query | name optional |
Filter list to only include segments that contains the Name | string | |
Query | ownerId optional |
Filter list to only include segments owned by the specified loginId | integer (int32) | |
Query | page optional |
Page number (base 0 - first page is "0") | integer | 0 |
Query | pagination optional |
Return paginated results | enum (true, false) | "false" |
Query | reportTimeAttribution optional |
Filter list to only include segments by reportTimeAttribution | boolean | |
Query | rsids optional |
Filter list to only include segments tied to specified RSID list (comma-delimited) | string | |
Query | segmentFilter optional |
Filter list to only include segments in the specified list (comma-delimited list of IDs) | string | |
Query | tagNames optional |
Filter list to only include segments that contains one of the tags | string | |
Query | toBeUsedInRsid optional |
Required when reportTimeAttribution != null or expansion=reportTimeAttribution | string | |
Query | version optional |
Decides the version of segment service | enum (old, new) | "old" |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | AnalyticsSegmentResponseItem |
400 | Unable to retrieve list of segments shared with user | No Content |
401 | Owner filter error; user specified is not in the same company as the requesting user | No Content |
403 | Requesting non-shared segments for other users is restricted to admin users | No Content |
500 | External API error; Segment retrieval failed | No Content |
application/json
GET /segments/aamstatus
Checks the provided report suite to see if it is configured to allow segment sharing with Adobe Audience Manager.
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query | rsid required |
Report suite ID to check status for | string | |
Query | version optional |
Decides the version of segment service | enum (old, new) | "old" |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | object |
500 | External API error; failed to check status for given RSID | No Content |
application/json
GET /segments/{id}
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path | id required |
The segment ID to retrieve | string | |
Query | expansion optional |
Comma-delimited list of additional segment metadata fields to include on response. | < enum (reportSuiteName, siteTitle, ownerFullName, modified, approved, favorite, shares, tags, sharesFullName, usageSummary, compatibility, definition) > array(multi) | |
Query | locale optional |
Locale | string | "en_US" |
Query | toBeUsedInRsid optional |
Evaluate the reportTimeAttribution/customerJourney compatibility for the provided report suite ID | string | |
Query | version optional |
Decides the version of segment service | enum (old, new) | "old" |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | AnalyticsSegmentResponseItem |
403 | Requesting non-shared segments for other users is restricted to admin users | No Content |
500 | External API error; segment retrieval failed | No Content |
application/json
PUT /segments/{id}
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path | id required |
Segment ID to be updated | string | |
Query | expansion optional |
Comma-delimited list of additional segment metadata fields to include on response. | < enum (reportSuiteName, siteTitle, ownerFullName, modified, approved, favorite, shares, tags, sharesFullName, usageSummary, compatibility, definition) > array(multi) | |
Query | locale optional |
Locale | string | "en_US" |
Query | version optional |
Decides the version of segment service | enum (old, new) | "old" |
JSON-formatted Object containing key/value pairs to be updated.
Name : body
Flags : optional
Type : < string, object > map
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | AnalyticsSegmentResponseItem |
400 | Definition must be formatted as a JSON Object | No Content |
401 | Company mismatch; segment ownership can only be transferred within the same organization | No Content |
403 | User does not have permission to update this segment | No Content |
500 | External API error; Segment update or retrieval failed | No Content |
application/json
application/json
DELETE /segments/{id}
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path | id required |
The segment ID to be deleted | string | |
Query | locale optional |
Locale | string | "en_US" |
Query | version optional |
Decides the version of segment service | enum (old, new) | "old" |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | string |
500 | External API error; Segment delete failed | No Content |
application/json
Operations on tags
POST /tags
Allows creation of a new tag and applies that new tag to the passed component
JSON-formatted array of Tag objects containing key-value pairs
Name : body
Flags : optional
Type : < Tag > array
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | < Tag > array |
500 | Unable to save list of tags. | No Content |
application/json
application/json
GET /tags
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query | limit optional |
Number of results per page | integer | 10 |
Query | page optional |
Page number (base 0 - first page is "0") | integer | 0 |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | < Tag > array |
500 | Unable to retrieve list of tags for user. | No Content |
application/json
DELETE /tags
Removes all tags from the passed componentIds. Note that currently this is done in a single DB query, so there is a single combined response for the entire operation.
Type | Name | Description | Schema |
---|---|---|---|
Query | componentIds required |
Comma-separated list of componentIds to operate on. | string |
Query | componentType required |
The component type to operate on. | enum (segment, dashboard, bookmark, calculatedMetric, project, dateRange, metric, dimension, virtualReportSuite, scheduledJob, alert, classificationSet) |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | < string, object > map |
400 | Invalid component type. | No Content |
500 | Unable to remove tags for given components. | No Content |
application/json
GET /tags/search
Given a componentId, return all tags associated with that component
Type | Name | Description | Schema |
---|---|---|---|
Query | componentId required |
The componentId to operate on. Currently this is just the segmentId. | string |
Query | componentType required |
The component type to operate on. | enum (segment, dashboard, bookmark, calculatedMetric, project, dateRange, metric, dimension, virtualReportSuite, scheduledJob, alert, classificationSet) |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | < Tag > array |
400 | Invalid component type. | No Content |
500 | Unable to retrieve tags for given component. | No Content |
application/json
Tag a component with one or many tags at once. WARNING: Authoritative; deletes/overwrites all pre-existing associations
PUT /tags/tagitems
This endpoint allows many tags at once to be created/deleted. Any tags passed to this endpoint will become the only tags for that componentId (all other tags will be removed).
JSON-formatted object containing key-value pairs that conform to the schema
Name : body
Flags : optional
Type : < TaggedComponent > array
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | < TaggedComponent > array |
500 | Unable to save tag list. | No Content |
application/json
application/json
GET /tags/{id}
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
Tag ID to be retrieved | integer (int32) |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | Tag |
404 | Unable to find a tag with the given ID | No Content |
500 | Unexpected server error while trying to retrieve tag | No Content |
application/json
DELETE /tags/{id}
Delete by tagId. Will un-tag any/all components that were associated with the passed tagId.
Type | Name | Description | Schema |
---|---|---|---|
Path | id required |
The tagId to be deleted | integer (int32) |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | < string, object > map |
404 | The given tagId does not exist | No Content |
500 | Unable to delete the given tagId. | No Content |
application/json
Timezone Operations
GET /timezones
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query | locale optional |
Locale | string | "en_US" |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | < Timezone > array |
500 | Unexpected error; timezone retrieval failed | No Content |
application/json
Operations on virtual report suites
POST /virtualreportsuites
Creates a virtual report suite. The following attributes are available when creating a virtual report suite: Required: name, parentRsid
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query | expansion optional |
Comma-delimited list of additional virtual report suite metadata fields to include on response. | < enum (globalCompanyKey, parentRsid, parentRsidName, timezone, timezoneZoneinfo, currentTimezoneOffset, segmentList, description, modified, isDeleted, approved, favorite, tags, ownerFullName, compatibility) > array(multi) | |
Query | locale optional |
Locale | string | "en_US" |
JSON-formatted Object containing key/value pairs for virtual report suite creation.
Name : body
Flags : optional
Type : AnalyticsVirtualReportSuite
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | AnalyticsVirtualReportSuite |
400 | Invalid input; name and parentRsid are required. | No Content |
500 | External API error; Virtual report suite create or retrieval failed | No Content |
application/json
application/json
GET /virtualreportsuites
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Query | expansion optional |
Comma-delimited list of additional virtual report suite metadata fields to include on response. | < enum (globalCompanyKey, parentRsid, parentRsidName, timezone, timezoneZoneinfo, currentTimezoneOffset, segmentList, description, modified, isDeleted, approved, favorite, tags, ownerFullName, compatibility) > array(multi) | |
Query | filterByModifiedAfter optional |
Filter list to only include virtual report suites modified since this date (ISO8601 format) | string | |
Query | idContains optional |
Filter list to only include suites whose id contains idContains. | string | |
Query | limit optional |
Number of results per page | integer | 10 |
Query | locale optional |
Locale | string | "en_US" |
Query | page optional |
Page number (base 0 - first page is "0") | integer | 0 |
Query | rsids optional |
Filter list to only include suites in this RSID list (comma-delimited) | string |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | AnalyticsVirtualReportSuite |
500 | Unexpected error; virtual report suite retrieval failed | No Content |
application/json
GET /virtualreportsuites/{id}
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path | id required |
The vrsid to retrieve | string | |
Query | expansion optional |
Comma-delimited list of additional virtual report suite metadata fields to include on response. | < enum (globalCompanyKey, parentRsid, parentRsidName, timezone, timezoneZoneinfo, currentTimezoneOffset, segmentList, description, modified, isDeleted, approved, favorite, tags, ownerFullName, compatibility) > array(multi) | |
Query | locale optional |
Locale | string | "en_US" |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | AnalyticsVirtualReportSuite |
500 | Unexpected error; virtual report suite retrieval failed | No Content |
application/json
PUT /virtualreportsuites/{id}
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path | id required |
The vrsid to update | string | |
Query | expansion optional |
Comma-delimited list of additional virtual report suite metadata fields to include on response. | < enum (globalCompanyKey, parentRsid, parentRsidName, timezone, timezoneZoneinfo, currentTimezoneOffset, segmentList, description, modified, isDeleted, approved, favorite, tags, ownerFullName, compatibility) > array(multi) | |
Query | locale optional |
Locale | string | "en_US" |
JSON-formatted Object containing virtual report suite keys/value pairs to be updated.
Name : body
Flags : optional
Type : AnalyticsVirtualReportSuite
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | AnalyticsVirtualReportSuite |
application/json
DELETE /virtualreportsuites/{id}
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path | id required |
The virtual report suite ID to be deleted | string | |
Query | locale optional |
Locale | string | "en_US" |
HTTP Code | Description | Schema |
---|---|---|
200 | successful operation | DeleteResponse |
500 | External API error; Virtual report suite delete failed | No Content |
application/json