# ServerService

Services related to the operation of the Deployit server process.

POST | /server/gc | Runs the garbage collector on the repository.
GET | /server/info | Returns information about the configuration of the sever.
POST | /server/logout | Logs out the current user.
POST | /server/shutdown | Stops the server process in a graceful manner.

## POST /server/gc

Runs the garbage collector on the repository.

Permissions
  `admin`

Response body
  Empty

## GET /server/info

Returns information about the configuration of the sever. For example: version, plugins, and classpath.

Response body
  ServerInfo - an information object.
  Content type: text/xml

## POST /server/logout

Logs out the current user.

Response body
  Empty

## POST /server/shutdown

Stops the server process in a graceful manner.

Permissions
  `admin`

Response body
  Empty