DesktopCouch

Differences between revisions 2 and 4 (spanning 2 versions)
Revision 2 as of 2009-08-05 12:22:30
Size: 815
Editor: cpe-97-104-37-241
Comment:
Revision 4 as of 2009-08-05 12:28:12
Size: 1009
Editor: cpe-97-104-37-241
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),
       "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_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_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 cpe-97-104-37-241)