Module: Misty::Openstack::API::GlanceV1

Included in:
Misty::Openstack::API::Glance::V1
Defined in:
lib/misty/openstack/api/glance/glance_v1.rb

Instance Method Summary collapse

Instance Method Details

#apiObject



6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'lib/misty/openstack/api/glance/glance_v1.rb', line 6

def api
{"/v1/images"=>{:POST=>[:create_image], :GET=>[:list_images]},
 "/v1/images/detail"=>{:GET=>[:list_images_with_details]},
 "/v1/images/{image_id}"=>
{:PUT=>[:update_image],
 :GET=>[:show_image_details_and_image_data],
 :HEAD=>[:show_image_metadata],
 :DELETE=>[:delete_image]},
 "/v1/images/{image_id}/members/{member_id}"=>
{:PUT=>[:add_member_to_image], :DELETE=>[:remove_member]},
 "/v1/images/{image_id}/members"=>
{:PUT=>[:replace_membership_list_for_an_image]},
 "/v1/shared-images/{owner_id}"=>{:GET=>[:list_shared_images]}}
end

#tagObject



2
3
4
# File 'lib/misty/openstack/api/glance/glance_v1.rb', line 2

def tag
  'Image Service API Reference 16.0.0'
end