Adding a json api to pictures#index
Merge branch 'api' into develop