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",
"participants": {},
"createdAt": 1587667174725,
"updatedAt": 1587667174725,
"egressId": "<string>"
}Livepeer Studio API endpoint
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",
"participants": {},
"createdAt": 1587667174725,
"updatedAt": 1587667174725,
"egressId": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://na-36-merge-docs-v2-dev-into-docs-v2-20260504.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Success
room ID
"d32ae9e6-c459-4931-9898-e86e2f5e7e16"
Show child attributes
Timestamp (in milliseconds) at which the room was created
1587667174725
Timestamp (in milliseconds) at which room was updated
1587667174725
internal ID for egress output
Was this page helpful?