## Category API

### Lighting Scenario Library
- **Interface: Get the data in the lighting (scenario/music, etc.) library bound to the device or group**
  - Meaning: Get the lighting (scenario/music, etc.) library bound to the device or group, and then output the data in the library. For example, the scenario parameter information in the scenario library.
  - Interface details: [getLightLibrariesData](/en/miniapp/develop/ray/api/light/light-library/getLightLibrariesData)

- **Interface: Get the data type of the lighting library bound to the device or group**
  - Meaning: Get the list of data types of the lighting library bound to the device or group. Through this data type list, data classification display can be achieved.
  - Interface details: [getLightLibrariesDataTypes](/en/miniapp/develop/ray/api/light/light-library/getLightLibrariesDataTypes)

- **Interface: Check whether there is an updateable version of the bound library**
  - Meaning: Check whether the latest version of the library bound to the device or group is greater than the currently bound version. If yes, it is considered that there is an updateable version, otherwise it is considered that there is no updateable version. If libDataType is passed as 0, then if any data type is updated, the library is considered to be updateable.
  - Interface details: [checkLightLibrariesVersionsUpgradable](/en/miniapp/develop/ray/api/light/light-library/checkLightLibrariesVersionsUpgradable)

- **Interface: Upgrade the library version used by the device or group to the latest**
  - Meaning: When an updateable version is detected, use this interface to upgrade the library to the latest version. If libDataType is passed as 0, it will try to update all types of data to the latest version.
  - Interface details: [upgradeToLatestLightLibrariesVersions](/en/miniapp/develop/ray/api/light/light-library/upgradeToLatestLightLibrariesVersions)