# phpMyAdmin

Access PHPMyAdmin on the server.

# HTTP Request:

GET https://api.serveravatar.com/organizations/{organization}/servers/{server}/phpmyadmin

# Curl Request Example:

curl --request GET \
  --url "https://api.serveravatar.com/organizations/5/servers/15/phpmyadmin" \
  --header 'content-type: application/json' \
  --header 'Authorization: <YOUR API TOKEN>'

# Response:

# phpMyAdmin Already Exists

  • 200 (Ok)
{
  "url": "https:\/\/MXWyrK5Dkgwcj5yC.serveravatarpma.com"
}

# phpMyAdmin Install

  • 200 (Ok)
{
  "url": "https:\/\/MXWyrK5Dkgwcj5yC.serveravatarpma.com",
  "message": "Phpmyadmin installed successfully!"
}

# Organization Not Found

  • 404 (Not Found)
{
    "message":"Organization not found!"
}

# Server Not Found

  • 404 (Not Found)
{
    "message":"Server not found!"
}

# Server Error

  • 500 (Internal Server Error)
{
    "message":"Something went really wrong!"
}
Last Updated: 3/1/2023, 2:00:48 PM