DesktopCouch

Differences between revisions 1 and 6 (spanning 5 versions)
Revision 1 as of 2009-08-05 12:21:36
Size: 838
Editor: cmiller
Comment:
Revision 6 as of 2009-08-05 14:12:00
Size: 1083
Editor: cmiller
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

Once a record specification is finalized, you mustn't alter it, but you may add a new version proposal below it, bumping v''N''.

The database name is the same as the gconf prefix, changed slightly. Gconf is "/apps/gwibber", and desktopcouch is "apps-gwibber".

The record_type is "https://wiki.ubuntu.com/Gwibber/DesktopCouch"
Line 5: Line 11:
The database name is the same as the gconf prefix, changed slightly. Gconf is "/apps/gwibber", and desktopcouch is "apps-gwibber".

The record_type is "https://wiki.ubuntu.com/Gwibber/DesktopCouch#v1"
Line 10: Line 12:
 { "account_id": str(unique_string),
   "service_account": {
       "protocol": str(protocol_name),
       "username": str(account_name_at_service),
       "password": str(optional_password_at_service),
       "receive_enabled": bool(optional),
       "search_enabled": bool(optional), # gwibber specific?
"message_color": str(optional_hash_12_nybble_hex_color),
   },
   "contacts": [str(users), str(that), str(we), str(follow), str(at_this_service)]
 }
   { "account_id": str(unique_random_string),
     "record_type": "https://wiki.ubuntu.com/Gwibber/DesktopCouch",
     "record_type_version": "'''v1'''",
     
"service_account": {
         "protocol": str(protocol_name),
         "username": str(account_name_at_service),
         "password": str(optional_password_at_service),
         "receive_enabled": bool(optional),
         "search_enabled": bool(optional),
  
"message_color": str(optional_hash_12_nybble_hex_color),
     },
     "contacts": [str(users), str(that), str(we), str(follow), str(at_this_service)]
   }

See DesktopCouch for more information.

Once a record specification is finalized, you mustn't alter it, but you may add a new version proposal below it, bumping vN.

The database name is the same as the gconf prefix, changed slightly. Gconf is "/apps/gwibber", and desktopcouch is "apps-gwibber".

The record_type is "https://wiki.ubuntu.com/Gwibber/DesktopCouch"

v1

The record data should look like

  • { "account_id": str(unique_random_string),
    • "record_type": "https://wiki.ubuntu.com/Gwibber/DesktopCouch", "record_type_version": "v1", "service_account": {

      • "protocol": str(protocol_name), "username": str(account_name_at_service), "password": str(optional_password_at_service), "receive_enabled": bool(optional), "search_enabled": bool(optional), "message_color": str(optional_hash_12_nybble_hex_color),
      }, "contacts": [str(users), str(that), str(we), str(follow), str(at_this_service)]
    }

State

This "v1" spec is proposed and not finalized yet.

Gwibber/DesktopCouch (last edited 2009-08-05 15:55:24 by cmiller)