Get list of allowed fields based on perm levels

I have created a docType with few fields with perm level 1 and few with perm level 2
Created a user with write access to perm level 1 fields and another with write access to perm level 2 fields

When i login as the first user through REST API, is there a way to get list of fields for the docType which are editable and which are readonly through Rest API?