added index to api
Merge pull request #1 from acltc/index_for_api

added index to api
Resolve merge conflict index:create