Hello,

i was looking at API for installing package on particular host, i have 2 
packages, test-1.0.1.rpm and test.1.0.2, now i wan to install specific 
release 1.0.1, i dont find API has option to pass NEVRA, is there anyway to 
do that using API call ?

PUT /api/hosts/:host_id/packages/install 
Install packages remotely 
Params 
Param name Description 
*host_id *
required 

ID of the host

*Validations:*

   - 
   
   string from 2 to 128 characters containing only alphanumeric characters, 
   space, '_', '-' with no leading or trailing space..
   
*packages *
optional 

List of package names

*Validations:*

   - 
   
   Must be an array of any type
   
*groups *
optional 

List of package group names

*Validations:*

   - 
   
   Must be an array of any type
   



-- 
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 [email protected].
To post to this group, send email to [email protected].
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