Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
documentation:api-data-types [2014-01-15 12:30] – created nkukard | documentation:api-data-types [2014-01-15 13:30] (current) – nkukard | ||
---|---|---|---|
Line 5: | Line 5: | ||
===== Type: OTSJsonStats ===== | ===== Type: OTSJsonStats ===== | ||
- | See below example of the json format for this type. | + | See below example of the JSON format for this type. |
==== Structure definition ==== | ==== Structure definition ==== | ||
+ | - $tag is the tag given to the statistical item when specifying it as a parameter | ||
- $identifier can be one of the following | - $identifier can be one of the following | ||
- ' | - ' | ||
Line 20: | Line 21: | ||
< | < | ||
{ | { | ||
- | $identifier: { | + | $tag: { |
- | label: $label, | + | |
- | data: [ | + | |
- | [$timestamp, | + | data: [ |
- | ... | + | [$timestamp, |
- | ] | + | ... |
- | }, | + | ] |
- | ... | + | }, |
+ | ... | ||
+ | }, | ||
+ | | ||
} | } | ||
</ | </ | ||
- |