🤝
Trovi
  • Trovi
  • 🕸️API Reference
    • Artifacts
      • ListArtifacts
      • GetArtifact
      • CreateArtifact
      • UpdateArtifact
      • Artifact Versions
        • CreateArtifactVersion
        • DeleteArtifactVersion
        • RetrieveArtifactVersionContents
        • Version Metrics
          • IncrArtifactVersionMetric
        • Version Migration
          • MigrateArtifactVersion
          • GetArtifactVersionMigrationStatus
      • Artifact Roles
        • AssignArtifactRole
        • UnassignArtifactRole
        • ListArtifactRoles
    • Contents
      • StoreContents
      • RetrieveContents
    • Token
      • TokenGrant
  • Meta
    • ListTags
    • CreateTag
  • URNs
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. API Reference
  2. Artifacts
  3. Artifact Versions
  4. Version Metrics

IncrArtifactVersionMetric

PreviousVersion MetricsNextVersion Migration

Last updated 3 years ago

Was this helpful?

Metrics can only be incremented by registered service applications. To register your application for this privilege, please get in touch with the Trovi developers.

The metrics endpoint is unique, in that callers must authenticate as the client application itself, and pass the user's token via the origin URL parameter. The reason for this is because we don't want users to be able to freely increment metrics as they please, so we only allow registered clients to do so, but we still require the user token in order to ensure that the user has permission to interact with the Artifact in the way that would increase the relevant metric.

Required token scope (origin)

  • artifacts:read

Required token scope (access_token)

  • artifacts:write_metrics

🕸️
Trovi API
View schema and examples
Logo