Class CollectMetadataExternalResource
java.lang.Object
fr.gouv.vitam.common.server.application.resources.ApplicationStatusResource
fr.gouv.vitam.collect.external.external.rest.CollectMetadataExternalResource
@Path("/collect-external/v1")
public class CollectMetadataExternalResource
extends ApplicationStatusResource
-
Field Summary
FieldsFields inherited from class fr.gouv.vitam.common.server.application.resources.ApplicationStatusResource
STATUS_URL, TENANTS_URL
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
createObjectGroup
(String unitId, String usageString, Integer version, ObjectDto objectDto) javax.ws.rs.core.Response
javax.ws.rs.core.Response
getObjectById
(String gotId) javax.ws.rs.core.Response
getUnitById
(String unitId) javax.ws.rs.core.Response
upload
(String unitId, String usageString, Integer version, InputStream uploadedInputStream) Methods inherited from class fr.gouv.vitam.common.server.application.resources.ApplicationStatusResource
getServerTenants, status
-
Field Details
-
ERROR_WHEN_CREATING_AN_OBJECT_GROUP_UNIT_BY_ID
- See Also:
-
ERROR_WHEN_FETCHING_OBJECT_BY_IF
- See Also:
-
-
Method Details
-
getUnitById
@Path("/units/{unitId}") @GET @Produces("application/json") public javax.ws.rs.core.Response getUnitById(@PathParam("unitId") String unitId) -
createObjectGroup
@Path("/units/{unitId}/objects/{usage}/{version}") @POST @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response createObjectGroup(@PathParam("unitId") String unitId, @PathParam("usage") String usageString, @PathParam("version") Integer version, ObjectDto objectDto) -
getObjectById
@Path("/objects/{gotId}") @GET @Produces("application/json") public javax.ws.rs.core.Response getObjectById(@PathParam("gotId") String gotId) -
upload
@Path("/units/{unitId}/objects/{usage}/{version}/binary") @POST @Consumes("application/octet-stream") @Produces("application/json") public javax.ws.rs.core.Response upload(@PathParam("unitId") String unitId, @PathParam("usage") String usageString, @PathParam("version") Integer version, InputStream uploadedInputStream) -
download
-