Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Malformed ivi.ru call #89

Open
vladimirbright opened this issue Jun 11, 2015 · 1 comment
Open

Malformed ivi.ru call #89

vladimirbright opened this issue Jun 11, 2015 · 1 comment

Comments

@vladimirbright
Copy link

When you do call 'da.content.get' first arg is int content id, second is actually dict. Investigation of logs reveled to me, that your software is do it wrong, second params is int :(

Should be something like this

curl -d'{"id": 13213, "version": "2.0", "method": "da.content.get", "params": [7029, {"site": "s{you subsite here}", "app_version": {you app_version here}}]}' 'http://api.digitalaccess.ru/api/json/'

Your args:

 [118214, 247318, {'content': 118214, 'adv_video_id': yadayada, 'uid': 'yadayada', 'site': yadayada, 'watchid': 'yadayada'}]

Just remove second arg 247318

@vladimirbright vladimirbright changed the title Mallformed ivi.ru call Malformed ivi.ru call Jun 11, 2015
@azhurb
Copy link
Owner

azhurb commented Jun 11, 2015

Thank you. I forwarded this problem to the application developer. He will try to fix it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants