I'm attempting to create smart parameter overrides via the API (version 
1.13) and I'm having some issues. 

Posting to: /api/smart_class_parameters/{paramID}/override_values

JSON being posted:

{
  "override_value": {
    "match": "hostgroup=somehostgroup",
    "value": {"some": "thing"}
  }
}


I receive this message back from the API: "error": {"message":"Validation 
failed: Value can't be blank"}

The parameter is set to be a hash and I'm passing it a hash, so I can't 
figure out why it's reporting the value is blank.

Any ideas?

Thanks. 

-- 
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