Link Search Menu Expand Document

Updated Fri Mar 5th 2021, 12:17 UTC

Index

GET /analytics

Note: This endpoint is still under active development, and may change without warning.

This will return a preview of the available Analytics Reports

Examples

Getting a list of available Analytics Reports

Request

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

Response

Status

200

Response Type

hydra:Collection

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

Table of contents


© 2021 TextUs