Feature: Accessing API entry points Scenario: API driver and version Given URI /api exists And authentification is not required for this URI When client access this URI Then client should get root element 'api' And this element should have attribute 'driver' with value 'mock' And this element should have attribute 'version' with value '0.3.0' Scenario: List of entry points Given URI /api exists And authentification is not required for this URI When client access this URI Then client should get list of valid entry points: | drivers | | buckets | | keys | | realms | | instances | | images | | instance_states | | hardware_profiles | | storage_snapshots | | storage_volumes | And this URI should be available in XML, JSON, HTML format Scenario: Following entry points Given URI /api exists And authentification is not required for this URI When client access this URI Then client should get list of valid entry points: | drivers | | buckets | | keys | | realms | | instances | | images | | instance_states | | hardware_profiles | | storage_snapshots | | storage_volumes | And each link should have 'rel' attribute with valid name And each link should have 'href' attribute with valid URL When client follow this attribute Then client should get a valid response Scenario: Instance features Given URI /api exists And authentification is not required for this URI When client access this URI Then client should get list of features inside 'instances': | user_name | | user_data | | authentication_key | | hardware_profiles |