Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updates sony_ci_api gem to use sony_ci_api_rewrite in github, branch v0.1. * Had to create a branch that was compatible with Faraday v0.17.x, b/c Hyrax dependencies would not allow Faraday v1.3. * Customizes Sony Ci ID input to include filename fetched from Sony Ci. * Customizes Sony Ci ID input partial to include button that will populate Sony Ci ID entries from Sony Ci, where the filename matches a translated form of the Asset ID. * Replaces old instances of SonyCiBasic with SonyCiApi::Client. * Adds a SonyCi::APIController to wrap very specific requests to Sony Ci API using the new gem. Endpoints include: * /sony_ci/api/find_media&query={QUERY}&fields={FIELDS} This will search the API for records matching {QUERY} and return JSON objects having properties specified by the comma-separated field list {FIELDS} * /sony_ci/api/get_filename&sony_ci_id={SONY_CI_ID} This will find the Sony Ci record and return a JSON object containing fields 'sony_ci_id' and 'name'. Closes #585.
- Loading branch information