Sha256: 61d95c4fc579e9f9d56adba1100981d6b40647bf86cf542456f002013dcbea52
Contents?: true
Size: 592 Bytes
Versions: 9
Compression:
Stored size: 592 Bytes
Contents
require_relative 'volumes' module ApiResources class VolumeSnapshots include Praxis::EndpointDefinition 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
9 entries across 9 versions & 1 rubygems