Skip to content

Buttons Export API Extension #3373

Open
@iosimliviu

Description

@iosimliviu

Is this a feature relevant to companion itself, and not a module?

  • I believe this to be a feature for companion, not a module

Is there an existing issue for this?

  • I have searched the existing issues

Describe the feature

Add a small extension to the API to provide button information, similar to the existing export function but accessible via API.

Proposed Endpoints:

  1. Retrieve Specific Page by Number:​

Method: GET
Path: /api/pages/{pageNumber}​

Functionality: Returns a JSON object for the specified page number.​

  1. Retrieve All Pages with Content:​

Method: GET
Path: /api/pages

Functionality: Returns a JSON array of all pages that contain content, similar to the current export function.​

Usecases

​​We are developing a timeline based execution software and aim to incorporate simple remote control support for Companion. To enhance clarity and user experience, we need to access information about the currently defined buttons and display their appearance within our interface, which will then interact directly with Companion. We'll also use the existing Remote Control API triggers.​

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or requestarea/import-exportRelated to the import/export processes.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions