Skip to main content Link Search Menu Expand Document (external link)

Updated Mon Oct 3rd 2022, 21:22 UTC

Analytics

GET /:account/analytics_reports

This will return a preview of the available Analytics Reports

Examples

Getting a list of available Analytics Reports

Request

GET /my_account/analytics_reports
Example
$ curl -i -H Accept:"application/vnd.textus+jsonld" \
    -H Authorization:"Bearer {token}" \
    -X GET /my_account/analytics_reports
    

Response

Status

200

Response Type

hydra:Collection

Example Body

{
  "@type": "hydra:Collection",
  "@context": "/contexts/hydra:Collection.jsonld",
  "id": "/my_account/analytics_reports",
  "members": [
    {
      "@type": "AnalyticsReport",
      "@context": "/contexts/AnalyticsReport.jsonld",
      "id": "/my_account/analytics/overview/user_engagement",
      "slug": "user_engagement",
      "title": "User Engagement"
    }
  ],
  "totalItems": 3
}

Table of contents


© 2022 TextUs