This function retrieves a sprite URL. Sprites store the cPanel interface's icons as a single image to conserve bandwidth. Note: This function only works in the Paper Lantern theme. We deprecated Paper Lantern in cPanel & WHM version 100 and will remove the function in version 110. This function will not work in the Jupiter theme.
uapi --output=jsonpretty \ --user=username \ Branding \ spritelist \ img='getstart' \ imgtype='icon' \ method='only_filetype_gif' \ subtype='img'
{- "apiversion": 3,
- "func": "spritelist",
- "module": "Branding",
- "result": {
- "data": {
- "images": [ ],
- "spriteurl": "/cPanel_magic_revision/"
}, - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}