GET
/
room
/
{id}
package main

import(
	livepeergo "github.com/livepeer/livepeer-go"
	"context"
	"log"
)

func main() {
    s := livepeergo.New(
        livepeergo.WithSecurity("<YOUR_BEARER_TOKEN_HERE>"),
    )

    ctx := context.Background()
    res, err := s.Room.Get(ctx, "<id>")
    if err != nil {
        log.Fatal(err)
    }
    if res.Room != nil {
        // handle response
    }
}
{
  "id": "d32ae9e6-c459-4931-9898-e86e2f5e7e16",
  "createdAt": 1587667174725,
  "updatedAt": 1587667174725,
  "egressId": "<string>",
  "participants": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

200
application/json

Success

The response is of type object.