Confirmed users
583
edits
No edit summary |
|||
Line 191: | Line 191: | ||
#QA marks the bug Resolved FIXED when functionality is vetted | #QA marks the bug Resolved FIXED when functionality is vetted | ||
#Usual deployment process follows (is this documented? Can we document it here?) | #Usual deployment process follows (is this documented? Can we document it here?) | ||
== Data Specification == | |||
As of late 2013, the Snippets service includes a JSON resource intended to serve snippets to Firefox for Android clients. This resource is accessed at a URL like this: [https://snippets.allizom.org/json/1/Fennec/28.0a1/20131204030203/Android_arm-eabi-gcc3/en-US/nightly/Linux%2018/default/default/ https://snippets.allizom.org/json/1/Fennec/28.0a1/20131204030203/Android_arm-eabi-gcc3/en-US/nightly/Linux%2018/default/default/]. | |||
This service returns JSON in the following format: | |||
[ | |||
{"url": "https://mozilla.org", | |||
"text": "This is text message for snippet #1. Links to mozilla.org", | |||
"target_geo": "US", # optional | |||
"id": 1, | |||
"icon": "data:imag..." | |||
"weight": 100 }, | |||
... | |||
] |