Return session relative URI

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

SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object
get/Parser/firstfile_relative_uri
Request samples
uapi --output=jsonpretty \
  --user=username \
  Parser \
  firstfile_relative_uri
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "firstfile_relative_uri",
  • "module": "Parser",
  • "result": {
    • "data": {
      • "uri": "/usr/local/cpanel/base/favicon.ico"
      },
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}