https://bugs.gpodder.org/show_bug.cgi?id=1266

--- Comment #6 from Stefan Kögl <[email protected]> 2011-01-19 15:58:08 GMT ---
(In reply to comment #2)
> Looks good to me. And as I understand, the "stop-synchronize" works every time
> correctly, because you can't have a device in two different sync groups
> (otherwise they would be merged into one, right?) - is that correct?

Correct.


(In reply to comment #3)
> Looks also good to me ... maybe the Name of the API Endpoint could be
> devicesync or only sync ... sync-devices somehow looks strange to me ;)

The intention was to make it clear what (devices) is being synchronized.


> Maybe the JSON Data for Devices could also be enhanced with Synchronization
> Information? Don't know if adding more Data to JSONs breaks anything.

You mean something like this?

GET /api/2/devices/{username}.json

 [{"id": "laptop",
   "caption": "gPodder on my Lappy",
   "type": "laptop",
   "subscriptions": 27,
   "synchronized-with": ["n900", "pc"] 
   },

   ...

 ]


(In reply to comment #4)
> It should not if the data is accessed by keys from a dictionary. And right 
> now,
> I think nobody is using this API, so we can still change it and add 
> information
> :)

Afaik recent versions of gPodder don't use that API endpoint anymore, but
previous versions did. However this shouldn't cause problems anyway, so we can
add that, too.

-- 
Configure bugmail: https://bugs.gpodder.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
gPodder-Bugs mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/gpodder-bugs

Reply via email to