My proposition for the data shape would be
{code} "security": [ {"type": "<Cross-platform name 1>", passed: true}, {"type": "<Cross-platform name 2>", passed: true}, ] {code}
So it can support batched requests. I brought up https://issues.jboss.org/browse/AGDROID-771 since I think we could extend that issue to include the change in the shape of the json and do batch requests in one go instead of having to revisit this later. [~danielpassos] Do you agree?
[~weil] [~davidmartin] I realize the goal of https://issues.jboss.org/browse/AGDROID-742 might've been document this data type, though since the issue mentioned adding it to the android sdk docs I ended up interpreting it as documenting the using the metrics+self-defence check feature. And in discussions via IRC IIRC we decided to avoid touching the data schema itself in the docs in the sdk repo. I believe we would need a new docs issue for the metrics service to add this reference for SDK implementers to the metrics api repo itself. |
|