Messtone LLC Manages(HPE):GreenLake API Versioning Basic

Messtone Devices Enables HPE GreenLake APIs Specifying the Version Generally:/<api-group>/version/<resource-collection>Alpha:The version mames contain alpha(for example,v1alpha1, v1alpha2) Beta:The version names contain beta(for example,v2beta3, v2beta4) Stable:The version name is vX where X is an integer of the MAJOR version(for example, v1, v2)Example: •Stable:/iam/v1/<resource-collectiion> •Alpha:/iam/v1alpha1/<resource-collection> Deprecation Header When the caller make a request for a deprecated version,this indicated via the Deprecation response header. Deprecation<imf-fixdate timestamp> or “time” “Sunset” header field is later or the same the one given in the “Deprecation” Example:Deprecation:Sun,11 Nov 2018 23:59:59 GMT Sunset:Wed,11 Nov 2020 23:59:59 GMT Sunset:<timestamp> Link:<{link}>;rel=”deprecation”;type=”text/html” Link:<{link}>;rel=”sunset”;type=”text/html” Deprecation Open API specification: /resource:get:deprecated:true

Leave a comment