We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Returns json data about a available WebSocket servers.
URL
/api/server
Method:
GET
Response:
Content: { data: [ { id: 1, address: "ws://localhost:8181", code: "initial", name: "Initial Server" }, { id: 2, address: "ws://localhost:8118", code: "elite", name: "Elite Crew" } ] }
{ data: [ { id: 1, address: "ws://localhost:8181", code: "initial", name: "Initial Server" }, { id: 2, address: "ws://localhost:8118", code: "elite", name: "Elite Crew" } ] }
Returns json data about a WebSocket server.
/api/server/{code}
URL Params
code=[string]
Success Response:
Content: { data: { id: 2, address: "ws://localhost:8118", code: "elite", name: "Elite Crew" } }
{ data: { id: 2, address: "ws://localhost:8118", code: "elite", name: "Elite Crew" } }
Error Response:
Content: { data: null }
{ data: null }