DirectoryIndexes
Directory Indexes
Return directory indexing settings
This function returns the directory indexing settings for a directory on the cPanel account and its subdirectories.
get/DirectoryIndexes/get_indexing
Request
- Base URLhttps://cpanel-server.tld:2083/execute
- AuthHTTP basic
Query parameters
dirstring required
Example:/home/example/example.com
The directory for which to check the indexing type.
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "get_indexing",
"module": "DirectoryIndexes",
"result": {
"data": "disabled",
"status": 1
}
}Changes
No recorded changes to this operation across all 5 revisions of this API.