Skip to content

Instantly share code, notes, and snippets.

@atz
Created July 10, 2015 22:01
Show Gist options
  • Save atz/3751f922138c887181e7 to your computer and use it in GitHub Desktop.
Save atz/3751f922138c887181e7 to your computer and use it in GitHub Desktop.
hydrus collection routes
open_collection POST /collections/open/:id(.:format) hydrus_collections#open
close_collection POST /collections/close/:id(.:format) hydrus_collections#close
list_all GET /collections/list_all(.:format) hydrus_collections#list_all
discard_collection_confirmation GET /collections/discard_confirmation/:id(.:format) hydrus_collections#discard_confirmation
hydrus_collection_events GET /collections/:hydrus_collection_id/events(.:format) events#index
hydrus_collection_datastreams GET /collections/:hydrus_collection_id/datastreams(.:format) datastreams#index
hydrus_collection_items GET /collections/:hydrus_collection_id/items(.:format) hydrus_items#index
hydrus_collections GET /collections(.:format) hydrus_collections#index
POST /collections(.:format) hydrus_collections#create
new_hydrus_collection GET /collections/new(.:format) hydrus_collections#new
edit_hydrus_collection GET /collections/:id/edit(.:format) hydrus_collections#edit
hydrus_collection GET /collections/:id(.:format) hydrus_collections#show
PUT /collections/:id(.:format) hydrus_collections#update
DELETE /collections/:id(.:format) hydrus_collections#destroy
destroy_hydrus_collection_value GET /collections/:id/destroy_value(.:format) hydrus_collections#destroy_value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment