Restful API For Creating Graphs