@Path(value="/metadata/v1") public class MetadataRawResource extends Object
Constructor and Description |
---|
MetadataRawResource(VitamRepositoryProvider vitamRepositoryProvider)
Constructor
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getObjectGroupById(String objectGroupId)
Get ObjectGroup as raw data
|
javax.ws.rs.core.Response |
getUnitById(String unitId)
Get Unit as raw data
|
public MetadataRawResource(VitamRepositoryProvider vitamRepositoryProvider)
vitamRepositoryProvider
- vitam repository provider@Path(value="/raw/units/{id_unit}") @GET @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response getUnitById(@PathParam(value="id_unit") String unitId)
unitId
- the unit id to getResponse
contains a request response json filled with unit resultentity(java.lang.Object, java.lang.annotation.Annotation[])
,
#type(javax.ws.rs.core.MediaType)
@Path(value="/raw/objectgroups/{id_og}") @GET @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response getObjectGroupById(@PathParam(value="id_og") String objectGroupId)
objectGroupId
- the objectGroup ID to getResponse
contains a request response json filled with object group resultentity(java.lang.Object, java.lang.annotation.Annotation[])
,
#type(javax.ws.rs.core.MediaType)
Copyright © 2018 Vitam. All rights reserved.