Uses of Enum Class
org.opencastproject.external.common.ApiVersion
Packages that use ApiVersion
-
Uses of ApiVersion in org.opencastproject.external.common
Fields in org.opencastproject.external.common declared as ApiVersionModifier and TypeFieldDescriptionstatic final ApiVersionApiVersion.CURRENT_VERSIONThe most recent version of the External APIMethods in org.opencastproject.external.common that return ApiVersionModifier and TypeMethodDescriptionApiMediaType.getVersion()static ApiVersionReturns the enum constant of this class with the specified name.static ApiVersion[]ApiVersion.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.opencastproject.external.common with parameters of type ApiVersionModifier and TypeMethodDescriptionstatic javax.ws.rs.core.ResponseApiResponseBuilder.Json.conflict(ApiVersion version, com.google.gson.JsonElement json) Create a conflict json response for the external apistatic javax.ws.rs.core.ResponseApiResponseBuilder.Json.created(ApiVersion version, URI location, com.google.gson.JsonElement json) Create a created json response for the external apibooleanApiVersion.isSmallerThan(ApiVersion other) static javax.ws.rs.core.ResponseApiResponseBuilder.Json.ok(ApiVersion version, com.google.gson.JsonElement json) Create an ok json response for the external apistatic javax.ws.rs.core.ResponseApiResponseBuilder.Json.ok(ApiVersion version, String body) Create an ok json response for the external api -
Uses of ApiVersion in org.opencastproject.external.endpoint
Methods in org.opencastproject.external.endpoint with parameters of type ApiVersionModifier and TypeMethodDescriptionprotected com.google.gson.JsonObjectEventsEndpoint.eventToJSON(org.opencastproject.elasticsearch.index.objects.event.Event event, Boolean withAcl, Boolean withMetadata, Boolean withScheduling, Boolean withPublications, Boolean includeInternalPublication, Boolean withSignedUrls, ApiVersion requestedVersion) Transform anEventto Jsonprotected javax.ws.rs.core.ResponseEventsEndpoint.getJsonEvents(String acceptHeader, List<org.opencastproject.elasticsearch.index.objects.IndexObject> events, Boolean withAcl, Boolean withMetadata, Boolean withScheduling, Boolean withPublications, Boolean includeInternalPublication, Boolean withSignedUrls, ApiVersion requestedVersion) Render a collection ofEvents into a json array.com.google.gson.JsonObjectEventsEndpoint.getPublication(org.opencastproject.mediapackage.Publication publication, Boolean sign, ApiVersion requestedVersion)