Expose Node degree in REST API.
Merge pull request #3406 from jakewins/2.1-rest-degree

Expose Node degree in REST API.