cloudflare / cloudflare-go

The official Go library for the Cloudflare API
https://developers.cloudflare.com/api
BSD 3-Clause "New" or "Revised" License
1.5k stars 594 forks source link

Support Stream Live Inputs and Outputs #1515

Open JamieSinn opened 8 months ago

JamieSinn commented 8 months ago

Current cloudflare-go version

latest

Description

The Live input portion of stream (inputs, outputs, etc) is currently not supported in the library. It'd be awesome to have this so I don't have to manually manage the API calls.

https://developers.cloudflare.com/api/operations/stream-live-inputs-list-live-inputs

Use cases

Automating management (creation, destruction, listing, etc) of live inputs and outputs associated with them.

Potential cloudflare-go usage

client.StreamsCreateLiveInput()
client.StreamsUpdateLiveInput()
client.StreamsDeleteLiveInput()
client.StreamsListLiveInputs()

client.StreamsCreateLiveOutput()
...

References

https://discord.com/channels/595317990191398933/1043025464911986749/1214648195993436270

JamieSinn commented 8 months ago

@Cyb3r-Jak3 as requested!