Getting the current Usage Reporting configuration
If the Usage Reporting configuration is not set, this endpoint will return a 404. Once the configuration is set, this endpoint will indicate whether the server will share usage data with the Central team. If the server will share usage data, and contact information was provided, this endpoint will also return the provided work email address and organization name.
Response
OK
Example response
{
"key": "analytics",
"setAt": "2018-01-06T00:32:52.787Z",
"value": {
"enabled": true,
"email": "my.email.address@getodk.org",
"organization": "Organization Name"
}
}Changes
Changed in 4 of the 54 revisions of this API.713
- ▲
the response's body type/format changed from
object/to/for status200response-body-type-changed
- ▲
the
coderesponse's property type/format changed fromstring/tonumber/for status404response-property-type-changed
- ▲
removed the required property
keyfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
setAtfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
valuefrom the response with the200statusresponse-required-property-removed
- ○
api tag
System Configurationaddedapi-tag-added
- ○
api tag
Usage Reporting Configurationremovedapi-tag-removed
- ○
added
Configsubschema #2to the response bodyallOflist for the response status200response-body-all-of-added
- ▲
- ○
api operation id
Getting the current configurationremoved and replaced withgetTheCurrentConfigurationapi-operation-id-removed
- ○
- ○
removed the non-success response with the status
403response-non-success-status-removed
- ○
- ▲
the response's body type/format changed from
/toobject/for status200response-body-type-changed
- ▲
the
coderesponse's property type/format changed fromnumber/tostring/for status404response-property-type-changed
- ○
api operation id
getTheCurrentConfigurationremoved and replaced withGetting the current configurationapi-operation-id-removed
- ○
api tag
Usage Reporting Configurationaddedapi-tag-added
- ○
api tag
System Configurationremovedapi-tag-removed
- ○
removed
Configsubschema #2from the response bodyallOflist for the response status200response-body-all-of-removed
- ○
added the non-success response with the status
403response-non-success-status-added
- ○
added the required property
keyto the response with the200statusresponse-required-property-added
- ○
added the required property
setAtto the response with the200statusresponse-required-property-added
- ○
added the required property
valueto the response with the200statusresponse-required-property-added
This revision also has 11 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲