According to this: https://www.hipchat.com/docs/api, the v2 API is still in
beta, so there should not be any issues with the module as it stands. A 401
indicates an authorization issue, not a target URL problem, so I would
double check your API token and username.


On Tue, May 27, 2014 at 3:55 PM, Lars Sommer <[email protected]>wrote:

> http://docs.ansible.com/hipchat_module.html
> https://www.hipchat.com/docs/apiv2/method/send_room_notification
>
> Difference in expected URL:
> https://api.hipchat.com/v1/rooms/message
> vs
> https://api.hipchat.com/v2/room/{id_or_name}/notification
>
> I was receiving a 401 until I started messing with the api parameter and
> couldn't find a combination that wouldn't give a 404 and I believe that's
> due to the fact that the hipchat module is passing in the message in the
> wrong spot.
>
> Can anyone verify?
>
> My intended usage is to use a hipchat notification API token passed in to
> notify of play completion.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/8584482c-9228-4f14-9d5c-d737478c4a6b%40googlegroups.com<https://groups.google.com/d/msgid/ansible-project/8584482c-9228-4f14-9d5c-d737478c4a6b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAMFyvFjaTgyrCW%3D_fEatHKO8525oCnSyNTqn3QpuPfjnGSkYHA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to