I am trying to create objects with the REST api, which works fine as long as I specify a value for each required field in the POST. The question is, how can I tell from the API which fields are required?
According to the API documentation, I should use Describe, like so:
/services/data/v30/sobjects/Account/describe/
When I do this, I get tons of metadata about the fields, but no indication as to which fields are required. I've compared required fields to optional fields and none of the metadata seems to indicated that the field is required.
Another SO thread suggested that "nillable" was equivalent to required, but that appears to be untrue. For example, Account.Name has nillable=true. I've also looked at custom objects with custom required fields, they can be nillable too. What am I missing here?