@Path(value="/admin")
@Produces(value="application/json")
public interface AdminResource
Modifier and Type | Method and Description |
---|---|
VersionResponse |
currentVersion()
Get the current version of the REST API on the server
|
javax.ws.rs.core.Response |
deleteDirtQueueEntry(int entryId)
Delete the failed dirt queue entry with given ID
|
FeatureResponse |
featureInfo(String name)
Get info about a feature activation
|
ActionLogEntryList |
getActionLog(PagingParameterBean paging,
ActionLogParameterBean query)
Get the action log
|
ActionModelList |
getActionLogActions(FilterParameterBean filter,
SortParameterBean sorting,
PagingParameterBean paging)
Get the actions, which are logged.
The result can be filtered by name
label
and sorted by
name
label
|
ActionLogTypeList |
getActionLogTypes(FilterParameterBean filter,
SortParameterBean sorting,
PagingParameterBean paging)
Get the object types, that are logged.
The result can be filtered by name
label
and sorted by
name
label
|
DirtQueueEntryList |
getDirtQueue(PagingParameterBean paging,
DirtQueueParameterBean filter)
Get the sorted list of dirt queue entries
|
DirtQueueSummaryResponse |
getDirtQueueSummary()
Get a sorted summary of current dirt queue entries
|
ErrorLogEntryList |
getErrorLog(FilterParameterBean filter,
PagingParameterBean paging)
Get error log
|
PublishQueueResponse |
getPublishQueue()
Get publish queue information.
|
GenericResponse |
performContentMaintenanceAction(ContentMaintenanceActionRequest request)
Perform a maintenance action on the publish queue
|
com.fasterxml.jackson.databind.JsonNode |
publicKey()
Get the public server key as JWK
|
PublishInfoResponse |
publishInfo()
Get information of the current publish process.
|
javax.ws.rs.core.Response |
redoDirtQueueEntry(int entryId)
Repeat the failed dirt queue entry with given ID
|
GenericResponse |
reloadConfiguration()
Reload the configuration
|
MaintenanceResponse |
setMaintenanceMode(MaintenanceModeRequest request)
Set or unset the maintenancemode, including the maintenance message.
|
ToolsResponse |
tools()
Get the tools, that shall be shown in the UI
|
UpdatesInfoResponse |
updatesAvailable()
Get available updates
|
@GET @Path(value="/version") VersionResponse currentVersion() throws Exception
Apart from the CMS version a map with version information about CMP components for each node will be included.
Exception
@GET @Path(value="/features/{name}") FeatureResponse featureInfo(@PathParam(value="name") String name)
name
- name of the feature@GET @Path(value="/tools") ToolsResponse tools() throws Exception
Exception
@GET @Path(value="/publishInfo") PublishInfoResponse publishInfo() throws Exception
$PUBLISH_QUEUE_STATS["refresh_delay"]
and defaults to 60000 milliseconds (one minute).Exception
@GET @Path(value="/updates") UpdatesInfoResponse updatesAvailable() throws Exception
Exception
@GET @Path(value="/publicKey") com.fasterxml.jackson.databind.JsonNode publicKey() throws Exception
Exception
@GET @Path(value="/actionlog") ActionLogEntryList getActionLog(@BeanParam PagingParameterBean paging, @BeanParam ActionLogParameterBean query) throws Exception
paging
- paging parameterquery
- query parameterException
@GET @Path(value="/actionlog/types") ActionLogTypeList getActionLogTypes(@BeanParam FilterParameterBean filter, @BeanParam SortParameterBean sorting, @BeanParam PagingParameterBean paging) throws Exception
name
label
name
label
filter
- filter parametersorting
- sorting parameterpaging
- paging parameterException
@GET @Path(value="/actionlog/actions") ActionModelList getActionLogActions(@BeanParam FilterParameterBean filter, @BeanParam SortParameterBean sorting, @BeanParam PagingParameterBean paging) throws Exception
name
label
name
label
filter
- filter parametersorting
- sorting parameterpaging
- paging parameterException
@GET @Path(value="/errorlog") ErrorLogEntryList getErrorLog(@BeanParam FilterParameterBean filter, @BeanParam PagingParameterBean paging) throws Exception
filter
- filter parameterpaging
- paging parameterException
@GET @Path(value="/content/publishqueue") PublishQueueResponse getPublishQueue() throws Exception
$PUBLISH_QUEUE_STATS["refresh_delay"]
and defaults to 60000 milliseconds (one minute).Exception
@POST @Path(value="/content/publishqueue") GenericResponse performContentMaintenanceAction(ContentMaintenanceActionRequest request) throws Exception
request
- maintenance action requestException
@GET @Path(value="/content/dirtqueue") DirtQueueEntryList getDirtQueue(@BeanParam PagingParameterBean paging, @BeanParam DirtQueueParameterBean filter) throws Exception
paging
- paging parametersfilter
- filter parametersException
@GET @Path(value="/content/dirtqueue/summary") DirtQueueSummaryResponse getDirtQueueSummary() throws Exception
Exception
@DELETE @Path(value="/content/dirtqueue/{id}") javax.ws.rs.core.Response deleteDirtQueueEntry(@PathParam(value="id") int entryId) throws Exception
entryId
- entry IDException
@PUT @Path(value="/content/dirtqueue/{id}/redo") javax.ws.rs.core.Response redoDirtQueueEntry(@PathParam(value="id") int entryId) throws Exception
entryId
- entry IDException
@PUT @Path(value="/config/reload") GenericResponse reloadConfiguration() throws Exception
Exception
@POST @Path(value="/maintenance") MaintenanceResponse setMaintenanceMode(MaintenanceModeRequest request) throws Exception
request
- requestException
Copyright © 2024 Gentics Software. All rights reserved.