# Lighting Scene Library

> This interface depends on cloud capabilities and requires authorization configuration in the [Mini Program Developer Platform](https://iot.tuya.com/miniapp/) under `Development Settings` - `Cloud Capabilities`.

## Interface Capabilities

For the capability of lighting scene library, we provide the following interface capabilities, which developers can use to call the API to complete related business development.

**Note that the following APIs require the use of `@ray-js/ray^1.4.14`.**

| Interface Name | Description |
| -------------- | ----------- |
| checkLightLibrariesVersionsUpgradable | Check if there are upgradeable versions for the bound libraries |
| upgradeToLatestLightLibrariesVersions | Upgrade the library version used by the device or group to the latest |
| getLightLibrariesData | Get the data from the lighting (scene/music, etc.) library bound to the device or group |
| getLightLibrariesDataTypes | Get the data types of the lighting library bound to the device or group |