Thanks tylersmalley for your response.
I've tried that but it doesn't seem to be working.
Example:
- The following query:
curl -XPUT -H "kbn-xsrf:true" "http://localhost:5601/api/saved_objects/index-pattern/e38f6e90-cf2f-11e7-a5ef-9f5ab64be49e" -d '{"version": 1, "attributes": {"title": "test-*"}}'
- it returns:
{"statusCode":400,"error":"Bad Request","message":"child "attributes" fails because ["attributes" is required]. "{"version": 1, "attributes": {"title": "test-*"}" is not allowed","validation":{"source":"payload","keys":["attributes","{"version": 1, "attributes": {"title": "test-*"}"]}}