public interface CreateResource
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
create(Bundle bundle,
List<String> accessors)
Create a resource.
|
javax.ws.rs.core.Response create(Bundle bundle, List<String> accessors) throws PermissionDenied, ValidationError, DeserializationError
bundle
- The resource data.accessors
- The users/groups who can initially access this resource.PermissionDenied
ValidationError
DeserializationError
Copyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.