> I'm getting the following error when I try to refresh facts of the 
> discovered hosts through actual API:
> $ curl -kSs -H "Content-Type: application/json" -H 
> "Accept:application/json" -u admin:$PASSWORD 
> https://localhost/api/v2/discovered_hosts/mac008cfaed69c8/refresh_facts | 
> jq '.'
> {
>   "status": "404",
>   "error": "Not Found"
> }

This API call is not HTTP GET but HTTP PUT.

Unfortunately we don't publish API docs of plugins:


You need to dig in the source codes, but its very readable.


 Lukas #lzap Zapletal

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+unsubscr...@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.

Reply via email to