Top Viewed Trails

Gets the top viewed trails with the most viewed listed first.

Learn more about APIs.

Minimum Tag

{{ _api.trails.topViewedTrails.templateId('1') }}

API Tag Parameters

ParameterDescription
instanceKey The key for the instance to get results in. If nothing is passed then the current instance will be used if this is called within the same app.

Type: String

Example:
instanceKey('appInstanceKey')
template Required if responseFormat is not 'data'. The template key of the template to use.

If this is not passed when it's required then nothing will be returned. In some cases by not passing this parameter you will get just the raw data back.

Type: String

Example:
template('template-key')