Labs/Personas/PersonasListUpdate

From MozillaWiki
< Labs‎ | Personas
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Draft-template-image.png THIS PAGE IS A WORKING DRAFT Pencil-emoji U270F-gray.png
The page may be difficult to navigate, and some information on its subject might be incomplete and/or evolving rapidly.
If you have any questions or ideas, please add them as a new topic on the discussion page.

Personas Update Service

Requirements

  • Every 24 hours the client will request an update to the directory by requesting the latest list from the Personas sever using the URL scheme provided below.
  • The update request will return a JSON file that provides the current list of available Personas.
  • No personally identifiable or potentially personally identifiable information shall be tracked or recorded in any way.

Format of Update Request

https://getpersonas.com/update/PersonasDirectoryUpdate?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&duration=%ITEM_DURATION%&appID=%APP_ID%&appVersion=%APP_VERSION%&appLocale=%APP_LOCALE%&appOS=%APP_OS%&appABI=%APP_ABI%
  • %REQ_VERSION% is the version of the request;
  • %ITEM_ID% is the UUID of the selected persona (e.g. 22);
  • %ITEM_VERSION% is the version of the selected persona (e.g. 1);
  • %ITEM_DURATION% is the timestamp the persona was selected;
  • %APP_ID% is the UUID of the application;
  • %APP_VERSION% is the version of the application (e.g. 3.0.6);
  • %APP_LOCALE% is the locale of the application (e.g. en-US);
  • %APP_OS% is the target OS;
  • %APP_ABI% is the target architecture