Permissions lookup is not available in the REST API for the time being. Create a new endpoint for checking permissions.
PR
PR merged