iron-io / iron_mq_php

PHP client for IronMQ.
www.iron.io
BSD 2-Clause "Simplified" License
89 stars 43 forks source link

V3 obsolete? #59

Closed luebbert42 closed 9 years ago

luebbert42 commented 9 years ago

is V3 outdated? I used it because the readme that this is the right version for laravel 4.2 with namespaces. Here are two fixes, probably there are more which are done in v1.

alex-litvak commented 9 years ago

The host "mq-aws-us-east-1.iron.io" is for v1, "mq-aws-us-east-1-1.iron.io" is for v3, so this parameter was correct

luebbert42 commented 9 years ago

I tried it via curl (api v3 and 1-1.iron.io), did not work for me. The Api reference says that the api version for mq is 1.

"API Version Support : IronMQ API supports version 1"

http://dev.iron.io/mq/reference/api/

I am confused.

alex-litvak commented 9 years ago

The v3 path should look like this: https://mq-aws-us-east-1-1.iron.io/3/projects/{Project ID}/ etc.

luebbert42 commented 9 years ago

which version is documented here? http://dev.iron.io/mq/reference/api/

alex-litvak commented 9 years ago

v1: http://dev.iron.io/mq/reference/api/ v3: http://dev.iron.io/mq/3/

luebbert42 commented 9 years ago

ah, the dashboard links to the v1 version, so this is the recommended version? I am less confused.

alex-litvak commented 9 years ago

Recomended is v3. To use v3 you should create account at hud-e (http://hud-e.iron.io)