AnalyticsMetricsMetricid
Edits a definition. Changing what a value means — weight, norms, direction, instruction — bumps its version, so numbers measured earlier keep the rules they were measured under.
Authorization
Bearer AuthorizationBearer <token>
JWT Authorization header using Bearer scheme
In: header
Path Parameters
metricId*string
Definition to edit.
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://test.api.speaknode.com/api/Analytics/metrics/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{
"success": true,
"error": "string",
"version": 0
}Removes a definition, or deactivates it when measured values already exist. DELETE
Previous Page
Turns a metric on or off for future analyses. Separate from the edit above on purpose: a switch in the list should not have to send the title, the norms and the weight to say "stop measuring this". PUT
Next Page