Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
iconfalse
titleTable of Contents

Table of Contents
maxLevel1

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

...

  1. Get the server status:

    Code Block
    languagenone
    GET http://nemo.sonarsource.org/api/server

Parameters

Parameter

Description

Required

Default Value

Value

formatResponse formats: xml or jsonNoxml 

Upgrade the Sonar Database

Description

Upgrade the Sonar database

URL

/api/server/setup

MethodPOST

Security

None

Examples

  1. Upgrade the Sonar database:

    Code Block
    languagenone
    ??????????????????

Parameters

Parameter

Description

Required

Default Value

Value

formatResponse formats: xml or json or txtNoxml