Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Table of Contents

Get the Sonar Server Status

Description

Get the server status: UP, DOWN (generally for database connection failures), SETUP (if the server must be upgraded), MIGRATION_RUNNING (the upgrade process is currently running)

URL

/api/server

MethodGET

Security

None

Examples

  1. Get the server status:

Parameters

Parameter

Description

Required

Default Value

Value

formatResponse formats: xml or jsonNoxml 

Get the System Properties, Server Info, etc.

 

DescriptionGet the system properties, server info (Java, OS), database configuration, JVM statistics and installed plugins

URL

/api/server/system

MethodGET

Security

Requires Global Administrator role

Examples

  1. Get the system properties, server info, etc.:

Parameters

Parameter

Description

Required

Default Value
formatResponse formats: jsonYesNone

Upgrade the Sonar Database

Description

Upgrade the Sonar database

URL

/api/server/setup

MethodPOST

Security

None

Examples

  1. Upgrade the Sonar database:

Parameters

Parameter

Description

Required

Default Value

Value

formatResponse formats: xml or json or txtNoxml 
  • No labels