Class SpacePropertyResource
java.lang.Object
com.atlassian.confluence.plugins.restapi.resources.SpacePropertyResource
A REST resource for manipulating space properties.
Space properties are a key / value store of properties attached to a Space. The key is a string, and the value is a JSON object.
- Since:
- 5.9
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(String spaceKey, JsonSpaceProperty newProperty) create
(String spaceKey, String propertyKey, JsonSpaceProperty newProperty) javax.ws.rs.core.Response
update
(String spaceKey, String propertyKey, JsonSpaceProperty property)
-
Constructor Details
-
SpacePropertyResource
-
-
Method Details
-
create
public JsonSpaceProperty create(String spaceKey, JsonSpaceProperty newProperty) throws ServiceException - Throws:
ServiceException
-
create
public JsonSpaceProperty create(String spaceKey, String propertyKey, JsonSpaceProperty newProperty) throws ServiceException - Throws:
ServiceException
-
get
public PageResponse<JsonSpaceProperty> get(String spaceKey, String expand, int start, int limit, @Context javax.ws.rs.core.UriInfo uriInfo) throws ServiceException - Throws:
ServiceException
-
get
public JsonSpaceProperty get(String spaceKey, String propertyKey, String expand) throws ServiceException - Throws:
ServiceException
-
update
public JsonSpaceProperty update(String spaceKey, String propertyKey, JsonSpaceProperty property) throws ServiceException - Throws:
ServiceException
-
delete
public javax.ws.rs.core.Response delete(String spaceKey, String propertyKey) throws ServiceException - Throws:
ServiceException
-