I get the expected response back. But if I send the request to V2 of the
api as follows # curl --user sledge:hammer -H "Content-Type:application/json" -k https://ind2q00katello01.qa.local/foreman_tasks/api/v2
/tasks/3574500b-0394-4a94-9f86-8ff1890ceadb
I basically get a 404 resource not found error.
Installed foreman_tasks core package is on version 0.1.4 and foreman_tasks
package is on version 0.9.4.
Based on the understanding from following documentation’s v2 should work.
> Hi,
>
> If I
> # curl --user admin:changeme -H "Content-Type:application/json" -k
> https://katelloserver/foreman_tasks/api/tasks/3574500b-0394-4a94-9f86-8ff1890ceadb
>
>
> I get the expected response back. But if I send the request to V2 of the
> api as follows
> # curl --user sledge:hammer -H "Content-Type:application/json" -k
> https://ind2q00katello01.qa.local/foreman_tasks/api/v2
> /tasks/3574500b-0394-4a94-9f86-8ff1890ceadb
>
> I basically get a 404 resource not found error.
>
> Installed foreman_tasks core package is on version 0.1.4 and foreman_tasks
> package is on version 0.9.4.
>
Hi,
I believe this is an inconsistency we should fix. Would you mind filing an
issue agains foreman tasks project in our issue tracker?
– Ivan
···
>
> Based on the understanding from following documentation’s v2 should work.
>
>
> https://access.redhat.com/documentation/en-us/red_hat_satellite/6.0/html/api_guide/chap-foreman_tasks
> https://theforeman.org/manuals/1.15/index.html#5.1.6APIVersioning
> https://theforeman.org/api/1.15
>
> Any suggestions, what I am missing here? Thanks in advance
>
> --
> You received this message because you are subscribed to the Google Groups
> "Foreman users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to foreman-users+unsubscribe@googlegroups.com.
> To post to this group, send email to foreman-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/foreman-users.
> For more options, visit https://groups.google.com/d/optout.
>