modified api
complete test version
add Etag
Merge pull request #11 from ACzero/api

Api