Class ApiVersion
- java.lang.Object
-
- step.repositories.azure.devops.rest.ApiVersion
-
public class ApiVersion extends java.lang.Object
The Azure Devops API is a horrible mess concerning the API versions it requires. Every REST call *must* specify an API version, and the versions are not compatible in any way (neither downward- nor upward-compatible). Effectively, each REST endpoint only works with a subset of the API versions, so the "version", in a sense, becomes part of the URL. To add insult to injury, *all* of the supported versions are permanently called "preview" versions -- in fact, there is no stable non-preview API. This is the reason why the ApiVersion is a mandatory and integral component of the RequestSpecification.
-
-
Field Summary
Fields Modifier and Type Field Description static ApiVersion
_6_0_PREVIEW_1
static ApiVersion
_6_0_PREVIEW_2
static ApiVersion
_6_1_PREVIEW_2
static ApiVersion
_6_1_PREVIEW_3
static ApiVersion
_6_1_PREVIEW_6
java.lang.String
versionString
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
-
-
Field Detail
-
versionString
public final java.lang.String versionString
-
_6_0_PREVIEW_1
public static final ApiVersion _6_0_PREVIEW_1
-
_6_0_PREVIEW_2
public static final ApiVersion _6_0_PREVIEW_2
-
_6_1_PREVIEW_2
public static final ApiVersion _6_1_PREVIEW_2
-
_6_1_PREVIEW_3
public static final ApiVersion _6_1_PREVIEW_3
-
_6_1_PREVIEW_6
public static final ApiVersion _6_1_PREVIEW_6
-
-