v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
Parser
URL Parsing

Return session relative URI

This function reports the first file's URI, relative to the cPanel base directory.

get/Parser/firstfile_relative_uri

Response

HTTP Request was successful.

apiversioninteger

The version of the API.

funcstring

The name of the method called.

modulestring

The name of the module called.

Example response

{
  "apiversion": 3,
  "func": "firstfile_relative_uri",
  "module": "Parser",
  "result": {
    "data": {
      "uri": "/usr/local/cpanel/base/favicon.ico"
    },
    "status": 1
  }
}