Sha256: c182197e9fceb1ea3021fc0ad63aabf1e34471f27824e3a805f0de71d49aeec7
Contents?: true
Size: 592 Bytes
Versions: 19
Compression:
Stored size: 592 Bytes
Contents
require_relative 'volumes' module ApiResources class VolumeSnapshots include Praxis::ResourceDefinition media_type VolumeSnapshot version '1.0' parent Volumes, :id => :volume_id prefix '/snapshots' action :index do routing do get '' end response :ok response :unauthorized params do attribute :volume_id, Integer, description: 'id of parent volume' end end action :show do routing do get '/:id' end params do attribute :id end end end end
Version data entries
19 entries across 19 versions & 1 rubygems