https://bugs.gpodder.org/show_bug.cgi?id=1231
Summary: Typo in reply to request for
http://gpodder.net/api/2/devices/username.json
Product: gpodder.net
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: feature request
Priority: low
Component: Advanced API (Server-side)
AssignedTo: [email protected]
ReportedBy: [email protected]
There is a typo in the reply given when a user fetches
http://gpodder.net/api/2/devices/username.json which breaks e.g.
MygPodderClient.get_devices in the mygpoclient library. In the reply there is a
key 'subscription'. However, according to the spec (and the implementation of
PodcastDevice.from_dictionary in mygpoclient) the key should be named
'subscriptions' with an 's' at the end.
Currently e.g. the list-devices script included in the mygpoclient library
crashes because of the typo in the server reply.
--
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