0

我在阅读用户订阅时遇到了一些问题。

正如我在 api 文档中所读到的,我必须发送以下请求:

获取https://api.flattr.com/rest/v2/user/subscriptions

之后,我收到了回复,但内容很奇怪:

[{"type":"subscription","active":false,"created_at":null,"started_at":0,"thing":"thing"},{"type":"subscription","active": false,"created_at":null,"started_at":0,"thing":"https://api.flattr.com/rest/v2/things/3951323"},{"type":"subscription","active ":false,"created_at":null,"started_at":0,"thing":"https://flattr.com/thing/3951323"},{"type":"subscription","active":false, "created_at":null,"started_at":0,"thing":3951323},{"type":"subscription","active":false,"created_at":null,"started_at":0,"thing": “http://www.gramocast。net/flattr"},{"type":"subscription","active":false,"created_at":null,"started_at":0,"thing":1},{"type":"subscription","活动“:假”,“created_at”:null,“started_at”:0,“事物”:1},{“类型”:“订阅”,“活动”:假,“created_at”:null,“started_at”:0 ,"thing":"gramocast"},{"type":"subscription","active":false,"created_at":null,"started_at":0,"thing":""},{"type": "subscription","active":false,"created_at":null,"started_at":0,"thing":[]},{"type":"subscription","active":false,"created_at":null ,"started_at":0,"thing":"en_GB"},{"type":"subscription","active":false,"created_at":null,"started_at":0,"thing":"software"} ,{"type":"subscription","active":false,"created_at":null,"started_at":0,"thing":1425413536},{"type":"subscription","active":false, "created_at":null,"started_at":0,"thing":{"type":"user","re​​source":"https://api.flattr.com/rest/v2/users/gramocast","链接":"https://flattr.com/profile/gramocast","id":"jy3lmA","用户名":"gramocast"}},{"type":"subscription","active":false, "created_at":null,"started_at":0,"thing":0},{"type":"subscription","active":false,"created_at":null,"started_at":0,"thing":" "},{"type":"subscription","active":false,"created_at":null,"started_at":0,"thing":true},{"type":"subscription","active": false,"created_at":null,"started_at":0,"thing":true}]'事情“:true},{“类型”:“订阅”,“活动”:false,“created_at”:null,“started_at”:0,“thing”:true}]'事情“:true},{“类型”:“订阅”,“活动”:false,“created_at”:null,“started_at”:0,“thing”:true}]'

我有一份 gramocast 的有效订阅。这是flattr api中的错误还是我做错了什么?

谢谢你的帮助。

4

1 回答 1

1

这种奇怪的反应是 Flattr API 中的一个错误的结果。我昨天部署了一个补丁,所以它现在应该可以按预期工作了。

很抱歉花了这么长时间才修复它。:(

// 莱夫

于 2015-03-18T08:49:31.870 回答