VRFS-5222 asset upload api * migration file * asset upload api wip * /api/user_assets this api endpoint is used to upload and query user_assets. for uploads send following parameters.. - asset_type - filename - recording_id (optional) - session_id (optional) - ext_id (optional) the api provides json response with signed url to aws s3 the same api endpoint is used to query uploaded user assets. Following query parameters are supported. - id - ext_id - recording_id + asset_type - session_id + asset_type * delete unused asset_uploader * for user_asset uploads use aws_bucket * db migration to add index on user_id of user_assets table Approved-by: Seth Call |
||
|---|---|---|
| .. | ||
| config | ||
| db | ||
| lib | ||
| scripts | ||
| spec | ||
| .gitignore | ||
| .pg_migrate | ||
| .rspec | ||
| .ruby-gemset | ||
| .simplecov | ||
| Gemfile | ||
| Gemfile.alt | ||
| Gemfile.lock | ||
| LICENSE | ||
| README.md | ||
| Rakefile | ||
| build | ||
| jam_ruby.gemspec | ||
| jenkins | ||
| migrate.sh | ||
README.md
JamRuby
Environment
Create development database 'jam_ruby'
createdb jam_ruby
Once you've created your database, migrate it:
bundle exec jam_ruby up