Skip to content

[WIP] Add action for bridge listing

鈩砳tsu 馃 requested to merge LogMANOriginal:ImproveCore into master

Created by: LogMANOriginal

This PR is work in progress, do not merge! This PR provides a possible solution for #482

Adds a new action &action=list which returns a list of all bridges as JSON formatted text. Each bridge brings following information:

  • status (active/inactive)
  • uri
  • name
  • parameters
  • maintainer
  • description

For inactive bridges only the status is returned. Bridges that cannot be instantiated are considered inactive.

Additional things to consider before merging:

  • Should this code be placed in a file outside index.php?
  • Is the information provided sufficient/too much/not enough?

Merge request reports