OpenTreeOfLife/treemachine — pull request #136 by josephwb (2014-09-24 18:16:43+00:00)
Title: node_ids service

For a set of ottIDs, get back the corresponding nodeIDs from the graph. Pretty straightforward.

Example call:
```
curl -X POST http://devapi.opentreeoflife.org/v2/graph/node_ids -H "content-type:application/json" -d '{"ott_ids":[292466, 501678, 267845]}'
```
```json
{
"501678" : 3022119,
"267845" : 3042161,
"292466" : 3019509
}
```
A call which includes an invalid ottID:
```
curl -X POST http://devapi.opentreeoflife.org/v2/graph/node_ids -H "content-type:appliction/json" -d '{"ott_ids":[292466, 501678, 89744589]}'
```
```json
{
"501678" : 3022119,
"292466" : 3019509,
"89744589" : "null"
}
```
Can you merge @chinchliff?