---
title: "Get Module Properties"
method: GET
path: "/module/properties/{id}"
tags: ["module"]
---

# Get Module Properties

`GET /module/properties/{id}`

Get a module properties which are needed to for the editWidget call

## Path parameters

- `id` string, required

## Response `200`

successful operation

- Module
  - `moduleId` integer — The ID of this Module
  - `name` string — Module Name
  - `author` string — Module Author
  - `description` string — Description of the Module
  - `icon` string — An icon to use in the toolbar
  - `type` string — The type code for this module
  - `legacyTypes` unknown[] — Legacy type codes for this module
    - unknown
  - `dataType` string — The data type of the data expected to be returned by this modules data provider
  - `group` string[] — The group details for this module
  - `dataCacheKey` string — The cache key used when requesting data
  - `regionSpecific` integer — Is specific to a Layout or can be uploaded to the Library?
  - `schemaVersion` integer — The schema version of the module
  - `compatibilityClass` string — The compatibility class of the module
  - `showIn` string — A flag indicating whether the module should be excluded from the Layout Editor
  - `assignable` integer — A flag indicating whether the module is assignable to a Layout
  - `hasThumbnail` integer — Does this module have a thumbnail to render?
  - `thumbnail` string — This is the location to a module's thumbnail
  - `renderAs` string — Should be rendered natively by the Player or via the CMS (native|html)
  - `class` string — Class Name including namespace
  - `validatorClass` string[] — Validator class name including namespace
  - `onInitialize` string — JavaScript function run when a module is initialised, before data is returned
  - `onParseData` string — Data Parser run against each data item applicable when a dataType is present
  - `onDataLoad` string — A load function to run when the widget first fetches data
  - `onDataError` string — An error function to run when the widget is unable to fetch data
  - `onRender` string — JavaScript function run when a module is rendered, after data has been returned
  - `onVisible` string — JavaScript function run when a module becomes visible
  - `sampleData` string — Optional sample data item, only applicable when a dataType is present
  - `enabled` integer — A flag indicating whether this module is enabled
  - `previewEnabled` integer — A flag indicating whether the Layout designer should render a preview of this module
  - `defaultDuration` integer — The default duration for Widgets of this Module when the user has not set a duration.
  - `settings` string[] — An array of additional module specific settings
  - `propertyGroups` string[] — An array of additional module specific group properties
  - `requiredElements` string[] — An array of required elements

## Changes

- **2023-09-20** `0e001cade80d` — 1 info
  - endpoint added
- **2020-02-17** `8e1275395104` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/xibosignage/apis/xibo-api/changes/module/properties/:id/get.md)

---

[API](https://skmtc.dev/xibosignage/apis/xibo-api.md) · [All operations](https://skmtc.dev/xibosignage/apis/xibo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/xibosignage/xibo-api/revisions/0e001cade80d/schema)
