mintpresso/api-server — pull request #36 by eces (2013-06-20 11:35:35+00:00)
Title: API version 1.1

Resolved #35

controllers/Graph.scala에 다 모여있던 것이 이제 controllers/v11/Edges.scala 이렇게 분리되었습니다.
1.2는 v12 그리고 2.0은 v20이 되겠지요.

1.0(예전) API와 1.1을 비교하려면 routes 파일을 참고하세요.

```
[info] APIv11Spec
[info]
[info] API Server should
[info] + return json response with status
[info] + deny request without api token
[info] + deny request with invalid api token
[info] + allow request with valid api token
[info] + allow request from 127.0.0.1 with invalid api token
[info] + allow request from 127.0.0.1 with valid api token
[info] + allow request from 127.0.0.1 without api token
[info]
[info] Point can
[info] + not be added without Content-Type
[info] + not be added with invalid typeString (number, word)
[info] + be added by POST
[info] + be added by GET with json parameter
[info] + be added with {type, identifier}
[info] + not be newly added with duplicate identifier
[info] + not be newly added with duplicate identifier by updateIfExists=true option (no data changes)
[info] + be newly added with duplicate identifier by updateIfExists=true option (including data changes)
[info]
[info] Edge can
[info] + not be added without Content-Type
[info] + not be added with invalid json
[info] + not be added without edge wrapped json
[info] + not be added without required fields
[info] + be added with subjectId and objectId
[info] + be added with both identifier and type
[info] + not be added with either identifier and type only
[info] + be founded by subject and object with milliseconds
[info] + be configured by limit and offset
[info]
[info]
[info] Total for specification APIv11Spec
[info] Finished in 5 seconds, 174 ms
[info] 24 examples, 0 failure, 0 error
```