WARNING! Gitlab maintenance operation scheduled for Monday, 20 April between 12:00 and 14:00 (CET). During this time window, short service interruptions (less than 5 minutes) may occur. Thank you in advance for your understanding.
[Documentation]Verify that on a GET HTTP request if nothing is specified on the Accept header, "application/json" is assumed (/subscriptions/{subscriptionId})
[Documentation]Verify that on a GET HTTP request if nothing is specified on the Accept header, "application/json" is assumed (/subscriptions/{subscriptionId})
[Tags]sub-retrieve6_3_4
[Tags]sub-retrievecb-get6_3_4
${id}=Generate Random Entity Id${subscription_id_prefix}
${id}=Generate Random Entity Id${subscription_id_prefix}
[Documentation]Verify throwing 406 HTTP status code (Not Acceptable Media Type) if the "Accept" header does not imply "application/json" nor "application/ld+json" (get /entities/{entityId})
[Documentation]Verify throwing 406 HTTP status code (Not Acceptable Media Type) if the "Accept" header does not imply "application/json" nor "application/ld+json" (get /entities/{entityId})
[Tags]e-query6_3_4
[Tags]e-querycb-noacceptable-medtype6_3_4
${entity_id}=Generate Random Entity Id${building_id_prefix}
${entity_id}=Generate Random Entity Id${building_id_prefix}
049_01_02 Endpoint get /subscriptions/{subscriptionId}
049_01_02 Endpoint get /subscriptions/{subscriptionId}
[Documentation]Verify throwing 406 HTTP status code (Not Acceptable Media Type) if the "Accept" header does not imply "application/json" nor "application/ld+json" (get /subscriptions/{subscriptionId})
[Documentation]Verify throwing 406 HTTP status code (Not Acceptable Media Type) if the "Accept" header does not imply "application/json" nor "application/ld+json" (get /subscriptions/{subscriptionId})
[Tags]sub-retrieve6_3_4
[Tags]sub-retrievecb-noacceptable-medtype6_3_4
${id}=Generate Random Entity Id${subscription_id_prefix}
${id}=Generate Random Entity Id${subscription_id_prefix}
[Documentation]Verify throwing 406 HTTP status code (Not Acceptable Media Type) if the "Accept" header does not imply "application/json" nor "application/ld+json" (get /csourceRegistrations/)
[Documentation]Verify throwing 406 HTTP status code (Not Acceptable Media Type) if the "Accept" header does not imply "application/json" nor "application/ld+json" (get /csourceRegistrations/)
[Tags]csr-query6_3_4
[Tags]csr-querycb-noacceptable-medtype6_3_4
${response}=Query Context Source Registrations With Returntype=Buildingaccept=${accept}
${response}=Query Context Source Registrations With Returntype=Buildingaccept=${accept}
Check Response Status Code${status_code}${response.status_code}
Check Response Status Code${status_code}${response.status_code}
049_01_04 Endpoint get /csourceSubscriptions/
049_01_04 Endpoint get /csourceSubscriptions/
[Documentation]Verify throwing 406 HTTP status code (Not Acceptable Media Type) if the "Accept" header does not imply "application/json" nor "application/ld+json" (get /csourceSubscriptions/)
[Documentation]Verify throwing 406 HTTP status code (Not Acceptable Media Type) if the "Accept" header does not imply "application/json" nor "application/ld+json" (get /csourceSubscriptions/)
Check Response Status Code${status_code}${response.status_code}
Check Response Status Code${status_code}${response.status_code}
049_01_05 Endpoint get /temporal/entities
049_01_05 Endpoint get /temporal/entities
[Documentation]Verify throwing 406 HTTP status code (Not Acceptable Media Type) if the "Accept" header does not imply "application/json" nor "application/ld+json" (get /temporal/entities)
[Documentation]Verify throwing 406 HTTP status code (Not Acceptable Media Type) if the "Accept" header does not imply "application/json" nor "application/ld+json" (get /temporal/entities)