Sha256: 62c600ce6223a11b53bd57db3149b6e4d59aeb5654e98af1d1faf6ad846fb398
Contents?: true
Size: 607 Bytes
Versions: 23
Compression:
Stored size: 607 Bytes
Contents
# frozen_string_literal: true 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
23 entries across 23 versions & 1 rubygems