Skip to content

Feature Request: GET /api/hosts #4

Open
@theRemix

Description

returns a list of all hosts

  {
    "limit": 100,
    "size": 5,
    "start": 0,
    "data" : [
      {
        "appName": "myGame",
        "url": "https://wild-cardinals-11.localtunnel.com",
        "release": "DEVELOPMENT"
      },
      {
        "appName": "myGame",
        "url": "https://wild-cardinals-22.localtunnel.com",
        "release": "DEVELOPMENT"
      },
      {
        "appName": "myGame",
        "url": "https://wild-cardinals-33.localtunnel.com",
        "release": "DEVELOPMENT"
      },
      {
        "appName": "yourGame",
        "url": "https://mild-cardinals-444.localtunnel.com",
        "release": "PRODUCTION"
      },
      {
        "appName": "chatroom",
        "url": "https://mild-cardinals-555.localtunnel.com",
        "release": "PRODUCTION"
      }
    ]
  }

this would be useful for the ui.
though i also want this for desktop apps that aren't web based. so the app can get a list of hosts ( and in the future, could query, see #5 ) and display them for connecting to other lobbies hosted by other p2p hosts.

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions