From 318b596974b77d505b426d1aa437d51832457ad5 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 13 Sep 2024 00:17:33 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.396.6 --- .speakeasy/gen.lock | 1357 ++++++++++++++------- .speakeasy/gen.yaml | 2 +- README.md | 130 +- RELEASES.md | 10 +- docs/models/components/recordingstatus.md | 1 + docs/models/components/task.md | 1 + docs/sdks/metrics/README.md | 9 +- docs/sdks/multistream/README.md | 6 +- docs/sdks/playback/README.md | 2 +- docs/sdks/room/README.md | 16 +- docs/sdks/session/README.md | 4 +- docs/sdks/stream/README.md | 16 +- docs/sdks/webhook/README.md | 12 +- setup.py | 2 +- src/livepeer/models/components/session.py | 1 + src/livepeer/models/components/task.py | 2 + src/livepeer/sdkconfiguration.py | 6 +- 17 files changed, 1069 insertions(+), 508 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index c20973c..6577a24 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 8c3ff122-1fb8-439c-8680-989f956dfd8d management: - docChecksum: 59634240879b8bce1b699c21c7f4f276 + docChecksum: e8b82c62c9be457f6f83c2439fa0c612 docVersion: 1.0.0 - speakeasyVersion: 1.377.1 - generationVersion: 2.404.1 - releaseVersion: 0.1.2 - configChecksum: 5231b9f981878f8105cfab0b8f673baf + speakeasyVersion: 1.396.6 + generationVersion: 2.415.6 + releaseVersion: 0.1.3 + configChecksum: 4bfa4dc8c3f990808dc7f8e9f2d55938 repoURL: https://github.com/livepeer/livepeer-python.git installationURL: https://github.com/livepeer/livepeer-python.git features: @@ -14,7 +14,7 @@ features: additionalDependencies: 0.1.0 additionalProperties: 0.1.0 constsAndDefaults: 0.1.4 - core: 4.8.6 + core: 4.8.9 deprecations: 2.81.1 flattening: 2.81.1 globalSecurity: 2.83.7 @@ -28,449 +28,966 @@ features: sdkHooks: 0.1.0 unions: 2.82.9 generatedFiles: - - src/livepeer/sdkconfiguration.py - - src/livepeer/stream.py - - src/livepeer/multistream.py - - src/livepeer/webhook.py - - src/livepeer/asset.py - - src/livepeer/session.py - - src/livepeer/room.py - - src/livepeer/metrics.py - - src/livepeer/accesscontrol.py - - src/livepeer/task.py - - src/livepeer/transcode.py - - src/livepeer/playback.py - - src/livepeer/sdk.py - - py.typed - - pylintrc - - scripts/publish.sh - - setup.py - - src/livepeer/__init__.py - - src/livepeer/utils/__init__.py - - src/livepeer/utils/retries.py - - src/livepeer/utils/utils.py - - src/livepeer/models/errors/sdkerror.py - - src/livepeer/models/operations/createstream.py - - src/livepeer/models/operations/getstreams.py - - src/livepeer/models/operations/getstream.py - - src/livepeer/models/operations/updatestream.py - - src/livepeer/models/operations/deletestream.py - - src/livepeer/models/operations/terminatestream.py - - src/livepeer/models/operations/startpullstream.py - - src/livepeer/models/operations/createclip.py - - src/livepeer/models/operations/getclips.py - - src/livepeer/models/operations/addmultistreamtarget.py - - src/livepeer/models/operations/removemultistreamtarget.py - - src/livepeer/models/operations/getmultistreamtargets.py - - src/livepeer/models/operations/createmultistreamtarget.py - - src/livepeer/models/operations/getmultistreamtarget.py - - src/livepeer/models/operations/updatemultistreamtarget.py - - src/livepeer/models/operations/deletemultistreamtarget.py - - src/livepeer/models/operations/getwebhooks.py - - src/livepeer/models/operations/createwebhook.py - - src/livepeer/models/operations/getwebhook.py - - src/livepeer/models/operations/updatewebhook.py - - src/livepeer/models/operations/deletewebhook.py - - src/livepeer/models/operations/getwebhooklogs.py - - src/livepeer/models/operations/getwebhooklog.py - - src/livepeer/models/operations/resendwebhook.py - - src/livepeer/models/operations/getassets.py - - src/livepeer/models/operations/requestupload.py - - src/livepeer/models/operations/uploadasset.py - - src/livepeer/models/operations/getasset.py - - src/livepeer/models/operations/updateasset.py - - src/livepeer/models/operations/deleteasset.py - - src/livepeer/models/operations/getsessionclips.py - - src/livepeer/models/operations/getsessions.py - - src/livepeer/models/operations/getsession.py - - src/livepeer/models/operations/getrecordedsessions.py - - src/livepeer/models/operations/createroom.py - - src/livepeer/models/operations/getroom.py - - src/livepeer/models/operations/deleteroom.py - - src/livepeer/models/operations/startroomegress.py - - src/livepeer/models/operations/stoproomegress.py - - src/livepeer/models/operations/createroomuser.py - - src/livepeer/models/operations/getroomuser.py - - src/livepeer/models/operations/updateroomuser.py - - src/livepeer/models/operations/deleteroomuser.py - - src/livepeer/models/operations/getrealtimeviewershipnow.py - - src/livepeer/models/operations/getviewershipmetrics.py - - src/livepeer/models/operations/getcreatorviewershipmetrics.py - - src/livepeer/models/operations/getpublicviewershipmetrics.py - - src/livepeer/models/operations/getusagemetrics.py - - src/livepeer/models/operations/createsigningkey.py - - src/livepeer/models/operations/getsigningkeys.py - - src/livepeer/models/operations/deletesigningkey.py - - src/livepeer/models/operations/getsigningkey.py - - src/livepeer/models/operations/updatesigningkey.py - - src/livepeer/models/operations/gettasks.py - - src/livepeer/models/operations/gettask.py - - src/livepeer/models/operations/transcodevideo.py - - src/livepeer/models/operations/getplaybackinfo.py - - src/livepeer/models/errors/error.py - - src/livepeer/models/components/stream.py - - src/livepeer/models/components/target_output.py - - src/livepeer/models/components/transcode_profile.py - - src/livepeer/models/components/ffmpeg_profile.py - - src/livepeer/models/components/playback_policy.py - - src/livepeer/models/components/creator_id.py - - src/livepeer/models/components/httpmetadata.py - - src/livepeer/models/components/new_stream_payload.py - - src/livepeer/models/components/usertags.py - - src/livepeer/models/components/multistream.py - - src/livepeer/models/components/target.py - - src/livepeer/models/components/input_creator_id.py - - src/livepeer/models/components/pull.py - - src/livepeer/models/components/stream_patch_payload.py - - src/livepeer/models/components/recordingspec.py - - src/livepeer/models/components/asset.py - - src/livepeer/models/components/storage_status.py - - src/livepeer/models/components/ipfs_file_info.py - - src/livepeer/models/components/encryption_output.py - - src/livepeer/models/components/clip_payload.py - - src/livepeer/models/components/target_add_payload.py - - src/livepeer/models/components/multistream_target.py - - src/livepeer/models/components/multistream_target_input.py - - src/livepeer/models/components/multistream_target_patch_payload.py - - src/livepeer/models/components/webhook.py - - src/livepeer/models/components/webhook_log.py - - src/livepeer/models/components/new_asset_payload.py - - src/livepeer/models/components/spec.py - - src/livepeer/models/components/new_asset_from_url_payload.py - - src/livepeer/models/components/encryption.py - - src/livepeer/models/components/storage.py - - src/livepeer/models/components/asset_patch_payload.py - - src/livepeer/models/components/session.py - - src/livepeer/models/components/create_room_response.py - - src/livepeer/models/components/room.py - - src/livepeer/models/components/room_egress_payload.py - - src/livepeer/models/components/room_user_response.py - - src/livepeer/models/components/room_user_payload.py - - src/livepeer/models/components/get_room_user_response.py - - src/livepeer/models/components/room_user_update_payload.py - - src/livepeer/models/components/realtime_viewership_metric.py - - src/livepeer/models/components/viewership_metric.py - - src/livepeer/models/components/usage_metric.py - - src/livepeer/models/components/signing_key.py - - src/livepeer/models/components/task.py - - src/livepeer/models/components/ipfs_export_params.py - - src/livepeer/models/components/export_task_params.py - - src/livepeer/models/components/transcode_payload.py - - src/livepeer/models/components/playback_info.py - - src/livepeer/models/components/attestation.py - - src/livepeer/models/components/security.py - - src/livepeer/models/__init__.py - - src/livepeer/models/errors/__init__.py - - src/livepeer/models/operations/__init__.py - - src/livepeer/models/components/__init__.py - - docs/models/operations/createstreamresponse.md - - docs/models/operations/getstreamsrequest.md - - docs/models/operations/getstreamsresponse.md - - docs/models/operations/getstreamrequest.md - - docs/models/operations/getstreamresponse.md - - docs/models/operations/updatestreamrequest.md - - docs/models/operations/updatestreamresponse.md - - docs/models/operations/deletestreamrequest.md - - docs/models/operations/deletestreamresponse.md - - docs/models/operations/terminatestreamrequest.md - - docs/models/operations/terminatestreamresponse.md - - docs/models/operations/startpullstreamrequest.md - - docs/models/operations/startpullstreamresponse.md - - docs/models/operations/createcliptask.md - - docs/models/operations/createclipdata.md - - docs/models/operations/createclipresponse.md - - docs/models/operations/getclipsrequest.md - - docs/models/operations/getclipsresponse.md - - docs/models/operations/addmultistreamtargetrequest.md - - docs/models/operations/addmultistreamtargetresponse.md - - docs/models/operations/removemultistreamtargetrequest.md - - docs/models/operations/removemultistreamtargetresponse.md - - docs/models/operations/getmultistreamtargetsresponse.md - - docs/models/operations/createmultistreamtargetresponse.md - - docs/models/operations/getmultistreamtargetrequest.md - - docs/models/operations/getmultistreamtargetresponse.md - - docs/models/operations/updatemultistreamtargetrequest.md - - docs/models/operations/updatemultistreamtargetresponse.md - - docs/models/operations/deletemultistreamtargetrequest.md - - docs/models/operations/deletemultistreamtargetresponse.md - - docs/models/operations/getwebhooksresponse.md - - docs/models/operations/createwebhookresponse.md - - docs/models/operations/getwebhookrequest.md - - docs/models/operations/getwebhookresponse.md - - docs/models/operations/updatewebhookrequest.md - - docs/models/operations/updatewebhookresponse.md - - docs/models/operations/deletewebhookrequest.md - - docs/models/operations/deletewebhookresponse.md - - docs/models/operations/getwebhooklogsrequest.md - - docs/models/operations/getwebhooklogsresponse.md - - docs/models/operations/getwebhooklogrequest.md - - docs/models/operations/getwebhooklogresponse.md - - docs/models/operations/resendwebhookrequest.md - - docs/models/operations/resendwebhookresponse.md - - docs/models/operations/getassetsresponse.md - - docs/models/operations/task.md - - docs/models/operations/requestuploaddata.md - - docs/models/operations/requestuploadresponse.md - - docs/models/operations/uploadassetassettask.md - - docs/models/operations/uploadassetdataoutput.md - - docs/models/operations/uploadassettask.md - - docs/models/operations/uploadassetdata.md - - docs/models/operations/uploadassetresponse.md - - docs/models/operations/getassetrequest.md - - docs/models/operations/getassetresponse.md - - docs/models/operations/updateassetrequest.md - - docs/models/operations/updateassetresponse.md - - docs/models/operations/deleteassetrequest.md - - docs/models/operations/deleteassetresponse.md - - docs/models/operations/getsessionclipsrequest.md - - docs/models/operations/getsessionclipsresponse.md - - docs/models/operations/getsessionsresponse.md - - docs/models/operations/getsessionrequest.md - - docs/models/operations/getsessionresponse.md - - docs/models/operations/record.md - - docs/models/operations/getrecordedsessionsrequest.md - - docs/models/operations/getrecordedsessionsresponse.md - - docs/models/operations/createroomresponse.md - - docs/models/operations/getroomrequest.md - - docs/models/operations/getroomresponse.md - - docs/models/operations/deleteroomrequest.md - - docs/models/operations/deleteroomresponse.md - - docs/models/operations/startroomegressrequest.md - - docs/models/operations/startroomegressresponse.md - - docs/models/operations/stoproomegressrequest.md - - docs/models/operations/stoproomegressresponse.md - - docs/models/operations/createroomuserrequest.md - - docs/models/operations/createroomuserresponse.md - - docs/models/operations/getroomuserrequest.md - - docs/models/operations/getroomuserresponse.md - - docs/models/operations/updateroomuserrequest.md - - docs/models/operations/updateroomuserresponse.md - - docs/models/operations/deleteroomuserrequest.md - - docs/models/operations/deleteroomuserresponse.md - - docs/models/operations/breakdownby.md - - docs/models/operations/getrealtimeviewershipnowrequest.md - - docs/models/operations/getrealtimeviewershipnowresponse.md - - docs/models/operations/from_.md - - docs/models/operations/to.md - - docs/models/operations/timestep.md - - docs/models/operations/queryparambreakdownby.md - - docs/models/operations/getviewershipmetricsrequest.md - - docs/models/operations/getviewershipmetricsresponse.md - - docs/models/operations/queryparamfrom.md - - docs/models/operations/queryparamto.md - - docs/models/operations/queryparamtimestep.md - - docs/models/operations/getcreatorviewershipmetricsqueryparambreakdownby.md - - docs/models/operations/getcreatorviewershipmetricsrequest.md - - docs/models/operations/getcreatorviewershipmetricsresponse.md - - docs/models/operations/getpublicviewershipmetricsrequest.md - - docs/models/operations/getpublicviewershipmetricsdata.md - - docs/models/operations/getpublicviewershipmetricsresponse.md - - docs/models/operations/getusagemetricsqueryparamtimestep.md - - docs/models/operations/getusagemetricsqueryparambreakdownby.md - - docs/models/operations/getusagemetricsrequest.md - - docs/models/operations/getusagemetricsresponse.md - - docs/models/operations/createsigningkeyresponse.md - - docs/models/operations/getsigningkeysresponse.md - - docs/models/operations/deletesigningkeyrequest.md - - docs/models/operations/deletesigningkeyresponse.md - - docs/models/operations/getsigningkeyrequest.md - - docs/models/operations/getsigningkeyresponse.md - - docs/models/operations/updatesigningkeyrequestbody.md - - docs/models/operations/updatesigningkeyrequest.md - - docs/models/operations/updatesigningkeyresponse.md - - docs/models/operations/gettasksresponse.md - - docs/models/operations/gettaskrequest.md - - docs/models/operations/gettaskresponse.md - - docs/models/operations/transcodevideoresponse.md - - docs/models/operations/getplaybackinforequest.md - - docs/models/operations/getplaybackinforesponse.md - - docs/models/errors/error.md - - docs/models/components/three.md - - docs/models/components/streamusertags.md - - docs/models/components/ismobile1.md - - docs/models/components/streamismobile.md - - docs/models/components/streamlocation.md - - docs/models/components/streampull.md - - docs/models/components/streamrecordingspec.md - - docs/models/components/streammultistream.md - - docs/models/components/renditions.md - - docs/models/components/stream.md - - docs/models/components/targetoutput.md - - docs/models/components/transcodeprofileprofile.md - - docs/models/components/transcodeprofileencoder.md - - docs/models/components/transcodeprofile.md - - docs/models/components/profile.md - - docs/models/components/encoder.md - - docs/models/components/ffmpegprofile.md - - docs/models/components/type.md - - docs/models/components/playbackpolicy.md - - docs/models/components/creatoridtype.md - - docs/models/components/creatorid1.md + - .gitattributes + - CONTRIBUTING.md + - USAGE.md + - docs/models/components/asset.md + - docs/models/components/assetipfs.md + - docs/models/components/assetnftmetadata.md + - docs/models/components/assetnftmetadatatemplate.md + - docs/models/components/assetpatchpayload.md + - docs/models/components/assetphase.md + - docs/models/components/assetsource3type.md + - docs/models/components/assetsourcetype.md + - docs/models/components/assetspec.md + - docs/models/components/assetstatus.md + - docs/models/components/assetstorage.md + - docs/models/components/assettype.md + - docs/models/components/assetvideospectype.md + - docs/models/components/attestation.md + - docs/models/components/attestationipfs.md + - docs/models/components/attestations.md + - docs/models/components/attestationstorage.md + - docs/models/components/catalystpipelinestrategy.md + - docs/models/components/clip.md + - docs/models/components/clippayload.md + - docs/models/components/clipstrategy.md + - docs/models/components/content.md + - docs/models/components/createroomresponse.md - docs/models/components/creatorid.md + - docs/models/components/creatorid1.md + - docs/models/components/creatoridtype.md + - docs/models/components/credentials.md + - docs/models/components/custom.md + - docs/models/components/domain.md + - docs/models/components/dvrplayback.md + - docs/models/components/encoder.md + - docs/models/components/encryptionoutput.md + - docs/models/components/events.md + - docs/models/components/export.md + - docs/models/components/exportdata.md + - docs/models/components/exporttaskparams.md + - docs/models/components/exporttaskparams1.md + - docs/models/components/exporttaskparams2.md + - docs/models/components/ffmpegprofile.md + - docs/models/components/fmp4.md + - docs/models/components/getroomuserresponse.md + - docs/models/components/hash.md + - docs/models/components/hls.md + - docs/models/components/hrn.md - docs/models/components/httpmetadata.md - - docs/models/components/newstreampayloadrecordingspec.md - - docs/models/components/newstreampayload.md - - docs/models/components/usertags3.md - - docs/models/components/usertags.md - - docs/models/components/multistream.md - - docs/models/components/targetspec.md - - docs/models/components/inputcreatoridtype.md - - docs/models/components/inputcreatorid1.md + - docs/models/components/input.md + - docs/models/components/input1.md + - docs/models/components/input2.md - docs/models/components/inputcreatorid.md - - docs/models/components/one.md + - docs/models/components/inputcreatorid1.md + - docs/models/components/inputcreatoridtype.md + - docs/models/components/inputtype.md + - docs/models/components/ipfs.md + - docs/models/components/ipfs1.md + - docs/models/components/ipfsexportparams.md + - docs/models/components/ipfsfileinfo.md - docs/models/components/ismobile.md + - docs/models/components/ismobile1.md + - docs/models/components/lastfailure.md + - docs/models/components/live.md - docs/models/components/location.md - - docs/models/components/pull.md - - docs/models/components/streampatchpayload.md - - docs/models/components/recordingspec.md - - docs/models/components/assettype.md - - docs/models/components/assetsource3type.md - - docs/models/components/source3.md - - docs/models/components/assetsourcetype.md - - docs/models/components/two.md - - docs/models/components/sourcetype.md - - docs/models/components/source1.md - - docs/models/components/source.md - - docs/models/components/assetnftmetadatatemplate.md - - docs/models/components/assetnftmetadata.md - - docs/models/components/assetspec.md - - docs/models/components/assetipfs.md - - docs/models/components/assetstorage.md - - docs/models/components/assetphase.md - - docs/models/components/assetstatus.md - - docs/models/components/hash.md - - docs/models/components/assetvideospectype.md - - docs/models/components/tracks.md - - docs/models/components/videospec.md - - docs/models/components/asset.md - - docs/models/components/phase.md - - docs/models/components/tasks.md - - docs/models/components/storagestatus.md - - docs/models/components/ipfsfileinfo.md - - docs/models/components/encryptionoutput.md - - docs/models/components/clippayload.md - - docs/models/components/targetaddpayloadspec.md - - docs/models/components/targetaddpayload.md + - docs/models/components/message.md + - docs/models/components/meta.md + - docs/models/components/mp4.md + - docs/models/components/multistream.md - docs/models/components/multistreamtarget.md - docs/models/components/multistreamtargetpatchpayload.md - - docs/models/components/events.md - - docs/models/components/lastfailure.md - - docs/models/components/status.md - - docs/models/components/webhook.md - - docs/models/components/request.md - - docs/models/components/response.md - - docs/models/components/webhooklog.md - - docs/models/components/newassetpayloadipfs1.md + - docs/models/components/name.md + - docs/models/components/newassetfromurlpayload.md + - docs/models/components/newassetpayload.md + - docs/models/components/newassetpayloadencryption.md - docs/models/components/newassetpayloadipfs.md + - docs/models/components/newassetpayloadipfs1.md - docs/models/components/newassetpayloadstorage.md - - docs/models/components/newassetpayloadencryption.md - - docs/models/components/newassetpayload.md - - docs/models/components/nftmetadatatemplate.md + - docs/models/components/newstreampayload.md + - docs/models/components/newstreampayloadrecordingspec.md - docs/models/components/nftmetadata.md - - docs/models/components/spec.md - - docs/models/components/newassetfromurlpayload.md - - docs/models/components/ipfs1.md - - docs/models/components/ipfs.md - - docs/models/components/storage.md - - docs/models/components/assetpatchpayload.md - - docs/models/components/recordingstatus.md - - docs/models/components/session.md - - docs/models/components/createroomresponse.md + - docs/models/components/nftmetadatatemplate.md + - docs/models/components/one.md + - docs/models/components/output.md + - docs/models/components/outputs.md + - docs/models/components/params.md - docs/models/components/participants.md + - docs/models/components/phase.md + - docs/models/components/pinata.md + - docs/models/components/pinata1.md + - docs/models/components/pinata2.md + - docs/models/components/playbackinfo.md + - docs/models/components/playbackinfohrn.md + - docs/models/components/playbackinfometadvrplaybacktype.md + - docs/models/components/playbackinfometatype.md + - docs/models/components/playbackinfosource.md + - docs/models/components/playbackinfotype.md + - docs/models/components/playbackpolicy.md + - docs/models/components/primarytype.md + - docs/models/components/profile.md + - docs/models/components/pull.md + - docs/models/components/realtimeviewershipmetric.md + - docs/models/components/recordingspec.md + - docs/models/components/recordingstatus.md + - docs/models/components/renditions.md + - docs/models/components/request.md + - docs/models/components/response.md - docs/models/components/room.md - docs/models/components/roomegresspayload.md - - docs/models/components/roomuserresponse.md - docs/models/components/roomuserpayload.md - - docs/models/components/getroomuserresponse.md + - docs/models/components/roomuserresponse.md - docs/models/components/roomuserupdatepayload.md - - docs/models/components/realtimeviewershipmetric.md - - docs/models/components/viewershipmetric.md - - docs/models/components/usagemetric.md + - docs/models/components/security.md + - docs/models/components/session.md + - docs/models/components/signaturetype.md - docs/models/components/signingkey.md - - docs/models/components/tasktype.md - - docs/models/components/upload.md - - docs/models/components/content.md + - docs/models/components/source.md + - docs/models/components/source1.md + - docs/models/components/source3.md + - docs/models/components/sourcetype.md + - docs/models/components/spec.md + - docs/models/components/status.md + - docs/models/components/storage.md + - docs/models/components/storage1.md + - docs/models/components/storage2.md + - docs/models/components/storagecredentials.md + - docs/models/components/storagestatus.md + - docs/models/components/storagetype.md + - docs/models/components/stream.md + - docs/models/components/streamismobile.md + - docs/models/components/streamlocation.md + - docs/models/components/streammultistream.md + - docs/models/components/streampatchpayload.md + - docs/models/components/streampull.md + - docs/models/components/streamrecordingspec.md + - docs/models/components/streamusertags.md + - docs/models/components/targetaddpayload.md + - docs/models/components/targetaddpayloadspec.md + - docs/models/components/targetoutput.md + - docs/models/components/targetspec.md + - docs/models/components/task.md - docs/models/components/taskexportdata.md - - docs/models/components/taskinput.md - - docs/models/components/taskstorage.md - docs/models/components/taskhls.md + - docs/models/components/taskinput.md + - docs/models/components/taskipfs.md - docs/models/components/taskmp4.md + - docs/models/components/taskoutputipfs.md - docs/models/components/taskoutputs.md - - docs/models/components/transcodefile.md - - docs/models/components/clipstrategy.md - - docs/models/components/catalystpipelinestrategy.md - - docs/models/components/clip.md - - docs/models/components/params.md - docs/models/components/taskphase.md + - docs/models/components/tasks.md - docs/models/components/taskstatus.md + - docs/models/components/taskstorage.md + - docs/models/components/tasktype.md - docs/models/components/taskupload.md - - docs/models/components/taskipfs.md - - docs/models/components/export.md - - docs/models/components/taskoutputipfs.md - - docs/models/components/exportdata.md - - docs/models/components/output.md - - docs/models/components/task.md - - docs/models/components/pinata2.md - - docs/models/components/pinata1.md - - docs/models/components/pinata.md - - docs/models/components/ipfsexportparams.md - - docs/models/components/exporttaskparams2.md - - docs/models/components/custom.md - - docs/models/components/exporttaskparams1.md - - docs/models/components/exporttaskparams.md - - docs/models/components/inputtype.md - - docs/models/components/credentials.md - - docs/models/components/input2.md - - docs/models/components/input1.md - - docs/models/components/input.md - - docs/models/components/transcodepayloadstoragetype.md - - docs/models/components/transcodepayloadstoragecredentials.md - - docs/models/components/storage2.md - - docs/models/components/storagetype.md - - docs/models/components/storagecredentials.md - - docs/models/components/storage1.md - - docs/models/components/transcodepayloadstorage.md - - docs/models/components/hls.md - - docs/models/components/mp4.md - - docs/models/components/fmp4.md - - docs/models/components/outputs.md + - docs/models/components/three.md + - docs/models/components/tracks.md + - docs/models/components/transcodefile.md - docs/models/components/transcodepayload.md - - docs/models/components/playbackinfotype.md - - docs/models/components/live.md - - docs/models/components/hrn.md - - docs/models/components/playbackinfometatype.md - - docs/models/components/playbackinfosource.md - - docs/models/components/playbackinfohrn.md - - docs/models/components/playbackinfometadvrplaybacktype.md - - docs/models/components/dvrplayback.md - - docs/models/components/meta.md - - docs/models/components/playbackinfo.md - - docs/models/components/primarytype.md - - docs/models/components/name.md + - docs/models/components/transcodepayloadstorage.md + - docs/models/components/transcodepayloadstoragecredentials.md + - docs/models/components/transcodepayloadstoragetype.md + - docs/models/components/transcodeprofile.md + - docs/models/components/transcodeprofileencoder.md + - docs/models/components/transcodeprofileprofile.md + - docs/models/components/two.md + - docs/models/components/type.md + - docs/models/components/upload.md + - docs/models/components/usagemetric.md + - docs/models/components/usertags.md + - docs/models/components/usertags3.md - docs/models/components/version.md - - docs/models/components/domain.md - - docs/models/components/attestations.md - - docs/models/components/message.md - - docs/models/components/signaturetype.md - - docs/models/components/attestationipfs.md - - docs/models/components/attestationstorage.md - - docs/models/components/attestation.md - - docs/models/components/security.md + - docs/models/components/videospec.md + - docs/models/components/viewershipmetric.md + - docs/models/components/webhook.md + - docs/models/components/webhooklog.md + - docs/models/errors/error.md + - docs/models/operations/addmultistreamtargetrequest.md + - docs/models/operations/addmultistreamtargetresponse.md + - docs/models/operations/breakdownby.md + - docs/models/operations/createclipdata.md + - docs/models/operations/createclipresponse.md + - docs/models/operations/createcliptask.md + - docs/models/operations/createmultistreamtargetresponse.md + - docs/models/operations/createroomresponse.md + - docs/models/operations/createroomuserrequest.md + - docs/models/operations/createroomuserresponse.md + - docs/models/operations/createsigningkeyresponse.md + - docs/models/operations/createstreamresponse.md + - docs/models/operations/createwebhookresponse.md + - docs/models/operations/deleteassetrequest.md + - docs/models/operations/deleteassetresponse.md + - docs/models/operations/deletemultistreamtargetrequest.md + - docs/models/operations/deletemultistreamtargetresponse.md + - docs/models/operations/deleteroomrequest.md + - docs/models/operations/deleteroomresponse.md + - docs/models/operations/deleteroomuserrequest.md + - docs/models/operations/deleteroomuserresponse.md + - docs/models/operations/deletesigningkeyrequest.md + - docs/models/operations/deletesigningkeyresponse.md + - docs/models/operations/deletestreamrequest.md + - docs/models/operations/deletestreamresponse.md + - docs/models/operations/deletewebhookrequest.md + - docs/models/operations/deletewebhookresponse.md + - docs/models/operations/from_.md + - docs/models/operations/getassetrequest.md + - docs/models/operations/getassetresponse.md + - docs/models/operations/getassetsresponse.md + - docs/models/operations/getclipsrequest.md + - docs/models/operations/getclipsresponse.md + - docs/models/operations/getcreatorviewershipmetricsqueryparambreakdownby.md + - docs/models/operations/getcreatorviewershipmetricsrequest.md + - docs/models/operations/getcreatorviewershipmetricsresponse.md + - docs/models/operations/getmultistreamtargetrequest.md + - docs/models/operations/getmultistreamtargetresponse.md + - docs/models/operations/getmultistreamtargetsresponse.md + - docs/models/operations/getplaybackinforequest.md + - docs/models/operations/getplaybackinforesponse.md + - docs/models/operations/getpublicviewershipmetricsdata.md + - docs/models/operations/getpublicviewershipmetricsrequest.md + - docs/models/operations/getpublicviewershipmetricsresponse.md + - docs/models/operations/getrealtimeviewershipnowrequest.md + - docs/models/operations/getrealtimeviewershipnowresponse.md + - docs/models/operations/getrecordedsessionsrequest.md + - docs/models/operations/getrecordedsessionsresponse.md + - docs/models/operations/getroomrequest.md + - docs/models/operations/getroomresponse.md + - docs/models/operations/getroomuserrequest.md + - docs/models/operations/getroomuserresponse.md + - docs/models/operations/getsessionclipsrequest.md + - docs/models/operations/getsessionclipsresponse.md + - docs/models/operations/getsessionrequest.md + - docs/models/operations/getsessionresponse.md + - docs/models/operations/getsessionsresponse.md + - docs/models/operations/getsigningkeyrequest.md + - docs/models/operations/getsigningkeyresponse.md + - docs/models/operations/getsigningkeysresponse.md + - docs/models/operations/getstreamrequest.md + - docs/models/operations/getstreamresponse.md + - docs/models/operations/getstreamsrequest.md + - docs/models/operations/getstreamsresponse.md + - docs/models/operations/gettaskrequest.md + - docs/models/operations/gettaskresponse.md + - docs/models/operations/gettasksresponse.md + - docs/models/operations/getusagemetricsqueryparambreakdownby.md + - docs/models/operations/getusagemetricsqueryparamtimestep.md + - docs/models/operations/getusagemetricsrequest.md + - docs/models/operations/getusagemetricsresponse.md + - docs/models/operations/getviewershipmetricsrequest.md + - docs/models/operations/getviewershipmetricsresponse.md + - docs/models/operations/getwebhooklogrequest.md + - docs/models/operations/getwebhooklogresponse.md + - docs/models/operations/getwebhooklogsrequest.md + - docs/models/operations/getwebhooklogsresponse.md + - docs/models/operations/getwebhookrequest.md + - docs/models/operations/getwebhookresponse.md + - docs/models/operations/getwebhooksresponse.md + - docs/models/operations/queryparambreakdownby.md + - docs/models/operations/queryparamfrom.md + - docs/models/operations/queryparamtimestep.md + - docs/models/operations/queryparamto.md + - docs/models/operations/record.md + - docs/models/operations/removemultistreamtargetrequest.md + - docs/models/operations/removemultistreamtargetresponse.md + - docs/models/operations/requestuploaddata.md + - docs/models/operations/requestuploadresponse.md + - docs/models/operations/resendwebhookrequest.md + - docs/models/operations/resendwebhookresponse.md + - docs/models/operations/startpullstreamrequest.md + - docs/models/operations/startpullstreamresponse.md + - docs/models/operations/startroomegressrequest.md + - docs/models/operations/startroomegressresponse.md + - docs/models/operations/stoproomegressrequest.md + - docs/models/operations/stoproomegressresponse.md + - docs/models/operations/task.md + - docs/models/operations/terminatestreamrequest.md + - docs/models/operations/terminatestreamresponse.md + - docs/models/operations/timestep.md + - docs/models/operations/to.md + - docs/models/operations/transcodevideoresponse.md + - docs/models/operations/updateassetrequest.md + - docs/models/operations/updateassetresponse.md + - docs/models/operations/updatemultistreamtargetrequest.md + - docs/models/operations/updatemultistreamtargetresponse.md + - docs/models/operations/updateroomuserrequest.md + - docs/models/operations/updateroomuserresponse.md + - docs/models/operations/updatesigningkeyrequest.md + - docs/models/operations/updatesigningkeyrequestbody.md + - docs/models/operations/updatesigningkeyresponse.md + - docs/models/operations/updatestreamrequest.md + - docs/models/operations/updatestreamresponse.md + - docs/models/operations/updatewebhookrequest.md + - docs/models/operations/updatewebhookresponse.md + - docs/models/operations/uploadassetassettask.md + - docs/models/operations/uploadassetdata.md + - docs/models/operations/uploadassetdataoutput.md + - docs/models/operations/uploadassetresponse.md + - docs/models/operations/uploadassettask.md + - docs/sdks/accesscontrol/README.md + - docs/sdks/asset/README.md - docs/sdks/livepeer/README.md - - docs/sdks/stream/README.md + - docs/sdks/metrics/README.md - docs/sdks/multistream/README.md - - docs/sdks/webhook/README.md - - docs/sdks/asset/README.md - - docs/sdks/session/README.md + - docs/sdks/playback/README.md - docs/sdks/room/README.md - - docs/sdks/metrics/README.md - - docs/sdks/accesscontrol/README.md + - docs/sdks/session/README.md + - docs/sdks/stream/README.md - docs/sdks/task/README.md - docs/sdks/transcode/README.md - - docs/sdks/playback/README.md - - USAGE.md - - .gitattributes + - docs/sdks/webhook/README.md + - py.typed + - pylintrc + - scripts/publish.sh + - setup.py + - src/livepeer/__init__.py + - src/livepeer/_hooks/__init__.py - src/livepeer/_hooks/sdkhooks.py - src/livepeer/_hooks/types.py - - src/livepeer/_hooks/__init__.py - - CONTRIBUTING.md + - src/livepeer/accesscontrol.py + - src/livepeer/asset.py + - src/livepeer/metrics.py + - src/livepeer/models/__init__.py + - src/livepeer/models/components/__init__.py + - src/livepeer/models/components/asset.py + - src/livepeer/models/components/asset_patch_payload.py + - src/livepeer/models/components/attestation.py + - src/livepeer/models/components/clip_payload.py + - src/livepeer/models/components/create_room_response.py + - src/livepeer/models/components/creator_id.py + - src/livepeer/models/components/encryption.py + - src/livepeer/models/components/encryption_output.py + - src/livepeer/models/components/export_task_params.py + - src/livepeer/models/components/ffmpeg_profile.py + - src/livepeer/models/components/get_room_user_response.py + - src/livepeer/models/components/httpmetadata.py + - src/livepeer/models/components/input_creator_id.py + - src/livepeer/models/components/ipfs_export_params.py + - src/livepeer/models/components/ipfs_file_info.py + - src/livepeer/models/components/multistream.py + - src/livepeer/models/components/multistream_target.py + - src/livepeer/models/components/multistream_target_input.py + - src/livepeer/models/components/multistream_target_patch_payload.py + - src/livepeer/models/components/new_asset_from_url_payload.py + - src/livepeer/models/components/new_asset_payload.py + - src/livepeer/models/components/new_stream_payload.py + - src/livepeer/models/components/playback_info.py + - src/livepeer/models/components/playback_policy.py + - src/livepeer/models/components/pull.py + - src/livepeer/models/components/realtime_viewership_metric.py + - src/livepeer/models/components/recordingspec.py + - src/livepeer/models/components/room.py + - src/livepeer/models/components/room_egress_payload.py + - src/livepeer/models/components/room_user_payload.py + - src/livepeer/models/components/room_user_response.py + - src/livepeer/models/components/room_user_update_payload.py + - src/livepeer/models/components/security.py + - src/livepeer/models/components/session.py + - src/livepeer/models/components/signing_key.py + - src/livepeer/models/components/spec.py + - src/livepeer/models/components/storage.py + - src/livepeer/models/components/storage_status.py + - src/livepeer/models/components/stream.py + - src/livepeer/models/components/stream_patch_payload.py + - src/livepeer/models/components/target.py + - src/livepeer/models/components/target_add_payload.py + - src/livepeer/models/components/target_output.py + - src/livepeer/models/components/task.py + - src/livepeer/models/components/transcode_payload.py + - src/livepeer/models/components/transcode_profile.py + - src/livepeer/models/components/usage_metric.py + - src/livepeer/models/components/usertags.py + - src/livepeer/models/components/viewership_metric.py + - src/livepeer/models/components/webhook.py + - src/livepeer/models/components/webhook_log.py + - src/livepeer/models/errors/__init__.py + - src/livepeer/models/errors/error.py + - src/livepeer/models/errors/sdkerror.py + - src/livepeer/models/operations/__init__.py + - src/livepeer/models/operations/addmultistreamtarget.py + - src/livepeer/models/operations/createclip.py + - src/livepeer/models/operations/createmultistreamtarget.py + - src/livepeer/models/operations/createroom.py + - src/livepeer/models/operations/createroomuser.py + - src/livepeer/models/operations/createsigningkey.py + - src/livepeer/models/operations/createstream.py + - src/livepeer/models/operations/createwebhook.py + - src/livepeer/models/operations/deleteasset.py + - src/livepeer/models/operations/deletemultistreamtarget.py + - src/livepeer/models/operations/deleteroom.py + - src/livepeer/models/operations/deleteroomuser.py + - src/livepeer/models/operations/deletesigningkey.py + - src/livepeer/models/operations/deletestream.py + - src/livepeer/models/operations/deletewebhook.py + - src/livepeer/models/operations/getasset.py + - src/livepeer/models/operations/getassets.py + - src/livepeer/models/operations/getclips.py + - src/livepeer/models/operations/getcreatorviewershipmetrics.py + - src/livepeer/models/operations/getmultistreamtarget.py + - src/livepeer/models/operations/getmultistreamtargets.py + - src/livepeer/models/operations/getplaybackinfo.py + - src/livepeer/models/operations/getpublicviewershipmetrics.py + - src/livepeer/models/operations/getrealtimeviewershipnow.py + - src/livepeer/models/operations/getrecordedsessions.py + - src/livepeer/models/operations/getroom.py + - src/livepeer/models/operations/getroomuser.py + - src/livepeer/models/operations/getsession.py + - src/livepeer/models/operations/getsessionclips.py + - src/livepeer/models/operations/getsessions.py + - src/livepeer/models/operations/getsigningkey.py + - src/livepeer/models/operations/getsigningkeys.py + - src/livepeer/models/operations/getstream.py + - src/livepeer/models/operations/getstreams.py + - src/livepeer/models/operations/gettask.py + - src/livepeer/models/operations/gettasks.py + - src/livepeer/models/operations/getusagemetrics.py + - src/livepeer/models/operations/getviewershipmetrics.py + - src/livepeer/models/operations/getwebhook.py + - src/livepeer/models/operations/getwebhooklog.py + - src/livepeer/models/operations/getwebhooklogs.py + - src/livepeer/models/operations/getwebhooks.py + - src/livepeer/models/operations/removemultistreamtarget.py + - src/livepeer/models/operations/requestupload.py + - src/livepeer/models/operations/resendwebhook.py + - src/livepeer/models/operations/startpullstream.py + - src/livepeer/models/operations/startroomegress.py + - src/livepeer/models/operations/stoproomegress.py + - src/livepeer/models/operations/terminatestream.py + - src/livepeer/models/operations/transcodevideo.py + - src/livepeer/models/operations/updateasset.py + - src/livepeer/models/operations/updatemultistreamtarget.py + - src/livepeer/models/operations/updateroomuser.py + - src/livepeer/models/operations/updatesigningkey.py + - src/livepeer/models/operations/updatestream.py + - src/livepeer/models/operations/updatewebhook.py + - src/livepeer/models/operations/uploadasset.py + - src/livepeer/multistream.py + - src/livepeer/playback.py + - src/livepeer/room.py + - src/livepeer/sdk.py + - src/livepeer/sdkconfiguration.py + - src/livepeer/session.py + - src/livepeer/stream.py + - src/livepeer/task.py + - src/livepeer/transcode.py + - src/livepeer/utils/__init__.py + - src/livepeer/utils/retries.py + - src/livepeer/utils/utils.py + - src/livepeer/webhook.py +examples: + createStream: + speakeasy-default-create-stream: + requestBody: + application/json: {"name": "test_stream", "pull": {"source": "https://myservice.com/live/stream.flv", "headers": {"Authorization": "Bearer 123"}, "location": {"lat": 39.739, "lon": -104.988}}, "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "profiles": [], "record": false, "recordingSpec": {"profiles": []}, "multistream": {"targets": [{"profile": "720p", "videoOnly": false, "id": "PUSH123", "spec": {"name": "My target", "url": "rtmps://live.my-service.tv/channel/secretKey"}}]}} + responses: + "201": + application/json: {"id": "de7818e7-610a-4057-8f6f-b785dc1e6f88", "name": "test_stream", "creatorId": {"type": "unverified", "value": "user123"}, "lastSeen": 1587667174725, "sourceSegments": 1, "transcodedSegments": 2, "sourceSegmentsDuration": 1, "transcodedSegmentsDuration": 2, "sourceBytes": 1, "transcodedBytes": 2, "ingestRate": 1, "outgoingRate": 2, "isActive": true, "createdByTokenName": "abc-123-xyz-456", "createdAt": 1587667174725, "parentId": "de7818e7-610a-4057-8f6f-b785dc1e6f88", "streamKey": "hgebdhhigq", "pull": {"source": "https://myservice.com/live/stream.flv", "headers": {"Authorization": "Bearer 123"}, "location": {"lat": 39.739, "lon": -104.988}}, "playbackId": "eaw4nk06ts2d0mzb", "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "profiles": [], "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "record": false, "recordingSpec": {"profiles": []}, "multistream": {"targets": [{"profile": "720p", "videoOnly": false, "id": "PUSH123"}]}, "lastTerminatedAt": 1713281212993} + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + getStreams: + speakeasy-default-get-streams: + responses: + "200": + application/json: [] + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + getStream: + speakeasy-default-get-stream: + parameters: + path: + id: "" + responses: + "200": + application/json: {"id": "de7818e7-610a-4057-8f6f-b785dc1e6f88", "name": "test_stream", "creatorId": {"type": "unverified", "value": "user123"}, "lastSeen": 1587667174725, "sourceSegments": 1, "transcodedSegments": 2, "sourceSegmentsDuration": 1, "transcodedSegmentsDuration": 2, "sourceBytes": 1, "transcodedBytes": 2, "ingestRate": 1, "outgoingRate": 2, "isActive": true, "createdByTokenName": "abc-123-xyz-456", "createdAt": 1587667174725, "parentId": "de7818e7-610a-4057-8f6f-b785dc1e6f88", "streamKey": "hgebdhhigq", "pull": {"source": "https://myservice.com/live/stream.flv", "headers": {"Authorization": "Bearer 123"}, "location": {"lat": 39.739, "lon": -104.988}}, "playbackId": "eaw4nk06ts2d0mzb", "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "profiles": [], "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "record": false, "recordingSpec": {"profiles": []}, "multistream": {"targets": [{"profile": "720p", "videoOnly": false, "id": "PUSH123"}]}, "lastTerminatedAt": 1713281212993} + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + updateStream: + speakeasy-default-update-stream: + parameters: + path: + id: "" + requestBody: + application/json: {"record": false, "multistream": {"targets": [{"profile": "720p", "videoOnly": false, "id": "PUSH123", "spec": {"name": "My target", "url": "rtmps://live.my-service.tv/channel/secretKey"}}]}, "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "profiles": [], "recordingSpec": {"profiles": []}} + responses: + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + deleteStream: + speakeasy-default-delete-stream: + parameters: + path: + id: "" + responses: + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + terminateStream: + speakeasy-default-terminate-stream: + parameters: + path: + id: "" + responses: + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + startPullStream: + speakeasy-default-start-pull-stream: + parameters: + path: + id: "" + responses: + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + createClip: + speakeasy-default-create-clip: + requestBody: + application/json: {"playbackId": "eaw4nk06ts2d0mzb", "startTime": 1587667174725, "endTime": 1587667174725, "name": "My Clip", "sessionId": "de7818e7-610a-4057-8f6f-b785dc1e6f88"} + responses: + "200": + application/json: {"asset": {"id": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "type": "video", "playbackId": "eaw4nk06ts2d0mzb", "playbackUrl": "https://livepeercdn.com/asset/ea03f37e-f861-4cdd-b495-0e60b6d753ad/index.m3u8", "downloadUrl": "https://livepeercdn.com/asset/eaw4nk06ts2d0mzb/video", "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "source": {"type": "directUpload"}, "creatorId": {"type": "unverified", "value": "user123"}, "profiles": [], "storage": {"ipfs": {"updatedAt": 1587667174725}, "status": {"phase": "ready", "progress": 0.5, "errorMessage": "Failed to update storage", "tasks": {"pending": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "last": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "failed": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}}}, "status": {"phase": "failed", "updatedAt": 1587667174725}, "name": "filename.mp4", "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "createdAt": 1587667174725, "size": 84934509, "hash": [], "videoSpec": {"format": "mp4", "duration": 23.8328, "bitrate": 1000000, "tracks": []}}, "task": {"id": "34d7618e-fd42-4798-acf5-19504616a11e"}} + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + getClips: + speakeasy-default-get-clips: + parameters: + path: + id: "" + responses: + "200": + application/json: [] + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + addMultistreamTarget: + speakeasy-default-add-multistream-target: + parameters: + path: + id: "" + requestBody: + application/json: {"profile": "720p0", "videoOnly": false, "id": "PUSH123", "spec": {"name": "My target", "url": "rtmps://live.my-service.tv/channel/secretKey"}} + responses: + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + removeMultistreamTarget: + speakeasy-default-remove-multistream-target: + parameters: + path: + id: "" + targetId: "" + responses: + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + getMultistreamTargets: + speakeasy-default-get-multistream-targets: + responses: + "200": + application/json: [] + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + createMultistreamTarget: + speakeasy-default-create-multistream-target: + requestBody: + application/json: {"url": "rtmps://live.my-service.tv/channel/secretKey"} + responses: + "201": + application/json: {"id": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "createdAt": 1587667174725} + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + getMultistreamTarget: + speakeasy-default-get-multistream-target: + parameters: + path: + id: "" + responses: + "200": + application/json: {"id": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "createdAt": 1587667174725} + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + updateMultistreamTarget: + speakeasy-default-update-multistream-target: + parameters: + path: + id: "" + requestBody: + application/json: {"url": "rtmps://live.my-service.tv/channel/secretKey"} + responses: + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + deleteMultistreamTarget: + speakeasy-default-delete-multistream-target: + parameters: + path: + id: "" + responses: + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + getWebhooks: + speakeasy-default-get-webhooks: + responses: + "200": + application/json: [] + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + createWebhook: + speakeasy-default-create-webhook: + requestBody: + application/json: {"name": "test_webhook", "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "events": ["stream.started", "stream.idle"], "url": "https://my-service.com/webhook", "sharedSecret": "my-secret", "streamId": "de7818e7-610a-4057-8f6f-b785dc1e6f88"} + responses: + "200": + application/json: {"id": "de7818e7-610a-4057-8f6f-b785dc1e6f88", "name": "test_webhook", "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "createdAt": 1587667174725, "events": ["stream.started", "stream.idle"], "url": "https://my-service.com/webhook", "streamId": "de7818e7-610a-4057-8f6f-b785dc1e6f88", "status": {"lastFailure": {"timestamp": 1587667174725, "error": "Error message", "response": "Response body", "statusCode": 500}, "lastTriggeredAt": 1587667174725}} + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + getWebhook: + speakeasy-default-get-webhook: + parameters: + path: + id: "" + responses: + "200": + application/json: {"id": "de7818e7-610a-4057-8f6f-b785dc1e6f88", "name": "test_webhook", "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "createdAt": 1587667174725, "events": ["stream.started", "stream.idle"], "url": "https://my-service.com/webhook", "streamId": "de7818e7-610a-4057-8f6f-b785dc1e6f88", "status": {"lastFailure": {"timestamp": 1587667174725, "error": "Error message", "response": "Response body", "statusCode": 500}, "lastTriggeredAt": 1587667174725}} + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + updateWebhook: + speakeasy-default-update-webhook: + parameters: + path: + id: "" + requestBody: + application/json: {"name": "test_webhook", "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "events": ["stream.started", "stream.idle"], "url": "https://my-service.com/webhook", "sharedSecret": "my-secret", "streamId": "de7818e7-610a-4057-8f6f-b785dc1e6f88"} + responses: + "200": + application/json: {"id": "de7818e7-610a-4057-8f6f-b785dc1e6f88", "name": "test_webhook", "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "createdAt": 1587667174725, "events": ["stream.started", "stream.idle"], "url": "https://my-service.com/webhook", "streamId": "de7818e7-610a-4057-8f6f-b785dc1e6f88", "status": {"lastFailure": {"timestamp": 1587667174725, "error": "Error message", "response": "Response body", "statusCode": 500}, "lastTriggeredAt": 1587667174725}} + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + deleteWebhook: + speakeasy-default-delete-webhook: + parameters: + path: + id: "" + responses: + "200": + application/json: {"id": "de7818e7-610a-4057-8f6f-b785dc1e6f88", "name": "test_webhook", "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "createdAt": 1587667174725, "events": ["stream.started", "stream.idle"], "url": "https://my-service.com/webhook", "streamId": "de7818e7-610a-4057-8f6f-b785dc1e6f88", "status": {"lastFailure": {"timestamp": 1587667174725, "error": "Error message", "response": "Response body", "statusCode": 500}, "lastTriggeredAt": 1587667174725}} + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + getWebhookLogs: + speakeasy-default-get-webhook-logs: + parameters: + path: + id: "" + responses: + "200": + application/json: [] + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + getWebhookLog: + speakeasy-default-get-webhook-log: + parameters: + path: + id: "" + logId: "" + responses: + "200": + application/json: {"id": "de7818e7-610a-4057-8f6f-b785dc1e6f88", "webhookId": "de7818e7-610a-4057-8f6f-b785dc1e6f88", "event": "stream.started", "createdAt": 1587667174725, "duration": 0.5, "success": true, "request": {"url": "https://my-service.com/webhook", "method": "POST", "headers": {"User-Agent": "livepeer.studio"}, "body": "{\"event\": \"stream.started\"}"}} + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + resendWebhook: + speakeasy-default-resend-webhook: + parameters: + path: + id: "" + logId: "" + responses: + "200": + application/json: {"id": "de7818e7-610a-4057-8f6f-b785dc1e6f88", "webhookId": "de7818e7-610a-4057-8f6f-b785dc1e6f88", "event": "stream.started", "createdAt": 1587667174725, "duration": 0.5, "success": true, "request": {"url": "https://my-service.com/webhook", "method": "POST", "headers": {"User-Agent": "livepeer.studio"}, "body": "{\"event\": \"stream.started\"}"}} + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + getAssets: + speakeasy-default-get-assets: + responses: + "200": + application/json: [] + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + requestUpload: + speakeasy-default-request-upload: + requestBody: + application/json: {"name": "filename.mp4", "staticMp4": true, "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "profiles": []} + responses: + "200": + application/json: {"url": "https://origin.livepeer.com/api/asset/upload/direct?token=eyJhbGciOiJIUzI1NiJ9.eyJtc2ciOiJoZWxsbyBoYWNrZXIsIHRoZXJlJ3Mgbm90aGluZyBmb3IgeW91IGhlcmUg8J-YhiJ9.1YDjmXsqLcgNyMSzT4kXl_kIni46_EuGX_xfqmC7e0Q", "tusEndpoint": "https://origin.livepeer.com/api/asset/upload/tus?token=eyJhbGciOiJIUzI1NiJ9.eyJtc2ciOiJoZWxsbyBoYWNrZXIsIHRoZXJlJ3Mgbm90aGluZyBmb3IgeW91IGhlcmUg8J-YhiJ9.1YDjmXsqLcgNyMSzT4kXl_kIni46_EuGX_xfqmC7e0Q", "asset": {"id": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "type": "video", "playbackId": "eaw4nk06ts2d0mzb", "playbackUrl": "https://livepeercdn.com/asset/ea03f37e-f861-4cdd-b495-0e60b6d753ad/index.m3u8", "downloadUrl": "https://livepeercdn.com/asset/eaw4nk06ts2d0mzb/video", "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "source": {"type": "recording", "sessionId": ""}, "creatorId": {"type": "unverified", "value": "user123"}, "profiles": [], "storage": {"ipfs": {"updatedAt": 1587667174725}, "status": {"phase": "ready", "progress": 0.5, "errorMessage": "Failed to update storage", "tasks": {"pending": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "last": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "failed": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}}}, "status": {"phase": "ready", "updatedAt": 1587667174725}, "name": "filename.mp4", "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "createdAt": 1587667174725, "size": 84934509, "hash": [], "videoSpec": {"format": "mp4", "duration": 23.8328, "bitrate": 1000000, "tracks": []}}, "task": {"id": "34d7618e-fd42-4798-acf5-19504616a11e"}} + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + uploadAsset: + speakeasy-default-upload-asset: + requestBody: + application/json: {"name": "filename.mp4", "staticMp4": true, "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "url": "https://s3.amazonaws.com/my-bucket/path/filename.mp4", "profiles": []} + responses: + "200": + application/json: {"asset": {"id": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "type": "video", "playbackId": "eaw4nk06ts2d0mzb", "playbackUrl": "https://livepeercdn.com/asset/ea03f37e-f861-4cdd-b495-0e60b6d753ad/index.m3u8", "downloadUrl": "https://livepeercdn.com/asset/eaw4nk06ts2d0mzb/video", "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "source": {"type": "recording", "sessionId": ""}, "creatorId": {"type": "unverified", "value": "user123"}, "profiles": [], "storage": {"ipfs": {"updatedAt": 1587667174725}, "status": {"phase": "ready", "progress": 0.5, "errorMessage": "Failed to update storage", "tasks": {"pending": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "last": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "failed": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}}}, "status": {"phase": "waiting", "updatedAt": 1587667174725}, "name": "filename.mp4", "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "createdAt": 1587667174725, "size": 84934509, "hash": [], "videoSpec": {"format": "mp4", "duration": 23.8328, "bitrate": 1000000, "tracks": []}}, "task": {"id": "34d7618e-fd42-4798-acf5-19504616a11e"}} + "201": + application/json: {"asset": {"id": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "type": "video", "playbackId": "eaw4nk06ts2d0mzb", "playbackUrl": "https://livepeercdn.com/asset/ea03f37e-f861-4cdd-b495-0e60b6d753ad/index.m3u8", "downloadUrl": "https://livepeercdn.com/asset/eaw4nk06ts2d0mzb/video", "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "source": {"type": "url", "url": "http://dutiful-colorlessness.com"}, "creatorId": {"type": "unverified", "value": "user123"}, "profiles": [], "storage": {"ipfs": {"updatedAt": 1587667174725}, "status": {"phase": "ready", "progress": 0.5, "errorMessage": "Failed to update storage", "tasks": {"pending": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "last": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "failed": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}}}, "status": {"phase": "uploading", "updatedAt": 1587667174725}, "name": "filename.mp4", "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "createdAt": 1587667174725, "size": 84934509, "hash": [], "videoSpec": {"format": "mp4", "duration": 23.8328, "bitrate": 1000000, "tracks": []}}, "task": {"id": "34d7618e-fd42-4798-acf5-19504616a11e"}} + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + getAsset: + speakeasy-default-get-asset: + parameters: + path: + assetId: "" + responses: + "200": + application/json: {"id": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "type": "video", "playbackId": "eaw4nk06ts2d0mzb", "playbackUrl": "https://livepeercdn.com/asset/ea03f37e-f861-4cdd-b495-0e60b6d753ad/index.m3u8", "downloadUrl": "https://livepeercdn.com/asset/eaw4nk06ts2d0mzb/video", "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "source": {"type": "directUpload"}, "creatorId": {"type": "unverified", "value": "user123"}, "profiles": [], "storage": {"ipfs": {"updatedAt": 1587667174725}, "status": {"phase": "ready", "progress": 0.5, "errorMessage": "Failed to update storage", "tasks": {"pending": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "last": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "failed": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}}}, "status": {"phase": "ready", "updatedAt": 1587667174725}, "name": "filename.mp4", "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "createdAt": 1587667174725, "size": 84934509, "hash": [], "videoSpec": {"format": "mp4", "duration": 23.8328, "bitrate": 1000000, "tracks": []}} + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + updateAsset: + speakeasy-default-update-asset: + parameters: + path: + assetId: "" + requestBody: + application/json: {"name": "filename.mp4", "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}} + responses: + "200": + application/json: {"id": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "type": "video", "playbackId": "eaw4nk06ts2d0mzb", "playbackUrl": "https://livepeercdn.com/asset/ea03f37e-f861-4cdd-b495-0e60b6d753ad/index.m3u8", "downloadUrl": "https://livepeercdn.com/asset/eaw4nk06ts2d0mzb/video", "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "source": {"type": "directUpload"}, "creatorId": {"type": "unverified", "value": "user123"}, "profiles": [], "storage": {"ipfs": {"updatedAt": 1587667174725}, "status": {"phase": "ready", "progress": 0.5, "errorMessage": "Failed to update storage", "tasks": {"pending": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "last": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "failed": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}}}, "status": {"phase": "failed", "updatedAt": 1587667174725}, "name": "filename.mp4", "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "createdAt": 1587667174725, "size": 84934509, "hash": [], "videoSpec": {"format": "mp4", "duration": 23.8328, "bitrate": 1000000, "tracks": []}} + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + deleteAsset: + speakeasy-default-delete-asset: + parameters: + path: + assetId: "" + responses: + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + getSessionClips: + speakeasy-default-get-session-clips: + parameters: + path: + id: "" + responses: + "200": + application/json: [] + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + getSessions: + speakeasy-default-get-sessions: + responses: + "200": + application/json: [] + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + getSession: + speakeasy-default-get-session: + parameters: + path: + id: "" + responses: + "200": + application/json: {"id": "de7818e7-610a-4057-8f6f-b785dc1e6f88", "name": "test_session", "lastSeen": 1587667174725, "sourceSegments": 1, "transcodedSegments": 2, "sourceSegmentsDuration": 1, "transcodedSegmentsDuration": 2, "sourceBytes": 1, "transcodedBytes": 2, "ingestRate": 1, "outgoingRate": 2, "createdAt": 1587667174725, "parentId": "de7818e7-610a-4057-8f6f-b785dc1e6f88", "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "record": false, "playbackId": "eaw4nk06ts2d0mzb", "profiles": [], "recordingSpec": {"profiles": []}} + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + getRecordedSessions: + speakeasy-default-get-recorded-sessions: + parameters: + path: + parentId: "" + query: + record: true + responses: + "200": + application/json: [] + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + createRoom: + speakeasy-default-create-room: + responses: + "200": + application/json: {"id": "d32ae9e6-c459-4931-9898-e86e2f5e7e16"} + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + getRoom: + speakeasy-default-get-room: + parameters: + path: + id: "" + responses: + "200": + application/json: {"id": "d32ae9e6-c459-4931-9898-e86e2f5e7e16", "createdAt": 1587667174725, "updatedAt": 1587667174725} + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + deleteRoom: + speakeasy-default-delete-room: + parameters: + path: + id: "" + responses: + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + startRoomEgress: + speakeasy-default-start-room-egress: + parameters: + path: + id: "" + requestBody: + application/json: {"streamId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9"} + responses: + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + stopRoomEgress: + speakeasy-default-stop-room-egress: + parameters: + path: + id: "" + responses: + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + createRoomUser: + speakeasy-default-create-room-user: + parameters: + path: + id: "" + requestBody: + application/json: {"name": "name", "canPublish": true, "canPublishData": true} + responses: + "201": + application/json: {"id": "d32ae9e6-c459-4931-9898-e86e2f5e7e16", "joinUrl": "https://meet.livepeer.chat", "token": "token"} + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + getRoomUser: + speakeasy-default-get-room-user: + parameters: + path: + id: "" + userId: "" + responses: + "200": + application/json: {"id": "d32ae9e6-c459-4931-9898-e86e2f5e7e16", "joinedAt": 1687517025261, "name": "name", "isPublisher": true} + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + updateRoomUser: + speakeasy-default-update-room-user: + parameters: + path: + id: "" + userId: "" + requestBody: + application/json: {"canPublish": true, "canPublishData": true} + responses: + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + deleteRoomUser: + speakeasy-default-delete-room-user: + parameters: + path: + id: "" + userId: "" + responses: + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + getRealtimeViewershipNow: + speakeasy-default-get-realtime-viewership-now: + responses: + "200": + application/json: [] + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + getViewershipMetrics: + speakeasy-default-get-viewership-metrics: + responses: + "200": + application/json: [] + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + getCreatorViewershipMetrics: + speakeasy-default-get-creator-viewership-metrics: + responses: + "200": + application/json: [] + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + getPublicViewershipMetrics: + speakeasy-default-get-public-viewership-metrics: + parameters: + path: + playbackId: "" + responses: + "200": + application/json: {"playbackId": "1bde4o2i6xycudoy", "dStorageUrl": "ipfs://QmZ4", "viewCount": 100, "playtimeMins": 10} + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + getUsageMetrics: + speakeasy-default-get-usage-metrics: + responses: + "200": + application/json: {"UserID": "1bde4o2i6xycudoy", "CreatorID": "john@doe.com", "DeliveryUsageMins": 100, "TotalUsageMins": 100, "StorageUsageMins": 100} + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + createSigningKey: + speakeasy-default-create-signing-key: + responses: + "200": + application/json: {"id": "78df0075-b5f3-4683-a618-1086faca35dc", "name": "key1", "createdAt": 1587667174725, "lastSeen": 1587667174725, "publicKey": "", "disabled": false, "projectId": "aac12556-4d65-4d34-9fb"} + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + getSigningKeys: + speakeasy-default-get-signing-keys: + responses: + "200": + application/json: [] + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + deleteSigningKey: + speakeasy-default-delete-signing-key: + parameters: + path: + keyId: "" + responses: + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + getSigningKey: + speakeasy-default-get-signing-key: + parameters: + path: + keyId: "" + responses: + "200": + application/json: {"id": "78df0075-b5f3-4683-a618-1086faca35dc", "name": "key1", "createdAt": 1587667174725, "lastSeen": 1587667174725, "publicKey": "", "disabled": false, "projectId": "aac12556-4d65-4d34-9fb"} + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + updateSigningKey: + speakeasy-default-update-signing-key: + parameters: + path: + keyId: "" + responses: + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + getTasks: + speakeasy-default-get-tasks: + responses: + "200": + application/json: [] + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + getTask: + speakeasy-default-get-task: + parameters: + path: + taskId: "" + responses: + "200": + application/json: {"id": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "type": "upload", "createdAt": 1587667174725, "scheduledAt": 1587667174725, "inputAssetId": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "outputAssetId": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "projectId": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "requesterId": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "params": {"upload": {"url": "https://cdn.livepeer.com/ABC123/filename.mp4", "c2pa": true, "profiles": [], "targetSegmentSizeSecs": 6}, "export": {"ipfs": {}}, "exportData": {"ipfs": {"pinata": {"apiKey": "1234567890"}}, "type": "text/plain", "id": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}, "transcode-file": {"input": {"url": "https://cdn.livepeer.com/ABC123/filename.mp4"}, "storage": {"url": "s3+https://accessKeyId:secretAccessKey@s3Endpoint/bucket"}, "outputs": {"hls": {"path": "/samplevideo/hls"}, "mp4": {"path": "/samplevideo/mp4"}}, "profiles": [], "targetSegmentSizeSecs": 10, "c2pa": false}, "clip": {"url": "https://asset-cdn.lp-playback.monster/hls/1bde4o2i6xycudoy/static360p0.mp4", "clipStrategy": {"startTime": 1587667174725, "endTime": 1587667174725, "playbackId": "eaw4nk06ts2d0mzb"}, "catalystPipelineStrategy": "catalyst_ffmpeg", "sessionId": "d32ae9e6-c459-4931-9898-e86e2f5e7e16", "inputId": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}}, "status": {"phase": "pending", "updatedAt": 1587667174725, "progress": 0.5, "errorMessage": "Failed to upload file", "retries": 3}, "output": {"upload": {"assetSpec": {"id": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "type": "video", "playbackId": "eaw4nk06ts2d0mzb", "playbackUrl": "https://livepeercdn.com/asset/ea03f37e-f861-4cdd-b495-0e60b6d753ad/index.m3u8", "downloadUrl": "https://livepeercdn.com/asset/eaw4nk06ts2d0mzb/video", "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "source": {"type": "clip"}, "creatorId": {"type": "unverified", "value": "user123"}, "profiles": [], "storage": {"ipfs": {"updatedAt": 1587667174725}, "status": {"phase": "ready", "progress": 0.5, "errorMessage": "Failed to update storage", "tasks": {"pending": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "last": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "failed": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}}}, "status": {"phase": "deleting", "updatedAt": 1587667174725}, "name": "filename.mp4", "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "createdAt": 1587667174725, "size": 84934509, "hash": [], "videoSpec": {"format": "mp4", "duration": 23.8328, "bitrate": 1000000, "tracks": []}}, "key": "", "key1": ""}, "export": {"ipfs": {"videoFileCid": "Qmabc123xyz341", "videoFileUrl": "ipfs://Qmabc123xyz341", "videoFileGatewayUrl": "https://gateway.ipfs.io/ipfs/Qmabc123xyz341", "nftMetadataCid": "Qmabc123xyz341", "nftMetadataUrl": "ipfs://Qmabc123xyz341", "nftMetadataGatewayUrl": "https://gateway.ipfs.io/ipfs/Qmabc123xyz341"}}, "exportData": {"ipfs": {"cid": "Qmabc123xyz341"}}}} + transcodeVideo: + speakeasy-default-transcode-video: + requestBody: + application/json: {"input": {"url": "https://s3.amazonaws.com/bucket/file.mp4"}, "storage": {"type": "s3", "endpoint": "https://gateway.storjshare.io", "bucket": "outputbucket", "credentials": {"accessKeyId": "AKIAIOSFODNN7EXAMPLE", "secretAccessKey": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"}}, "outputs": {"hls": {"path": "/samplevideo/hls"}, "mp4": {"path": "/samplevideo/mp4"}, "fmp4": {"path": "/samplevideo/fmp4"}}, "profiles": []} + responses: + "200": + application/json: {"id": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "type": "upload", "createdAt": 1587667174725, "scheduledAt": 1587667174725, "inputAssetId": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "outputAssetId": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "projectId": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "requesterId": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "params": {"upload": {"url": "https://cdn.livepeer.com/ABC123/filename.mp4", "c2pa": true, "profiles": [], "targetSegmentSizeSecs": 6}, "export": {"ipfs": {"pinata": {"apiKey": "1234567890"}}}, "exportData": {"ipfs": {}, "type": "text/plain", "id": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}, "transcode-file": {"input": {"url": "https://cdn.livepeer.com/ABC123/filename.mp4"}, "storage": {"url": "s3+https://accessKeyId:secretAccessKey@s3Endpoint/bucket"}, "outputs": {"hls": {"path": "/samplevideo/hls"}, "mp4": {"path": "/samplevideo/mp4"}}, "profiles": [], "targetSegmentSizeSecs": 10, "c2pa": false}, "clip": {"url": "https://asset-cdn.lp-playback.monster/hls/1bde4o2i6xycudoy/static360p0.mp4", "clipStrategy": {"startTime": 1587667174725, "endTime": 1587667174725, "playbackId": "eaw4nk06ts2d0mzb"}, "catalystPipelineStrategy": "catalyst_ffmpeg", "sessionId": "d32ae9e6-c459-4931-9898-e86e2f5e7e16", "inputId": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}}, "status": {"phase": "pending", "updatedAt": 1587667174725, "progress": 0.5, "errorMessage": "Failed to upload file", "retries": 3}, "output": {"upload": {"assetSpec": {"id": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "type": "video", "playbackId": "eaw4nk06ts2d0mzb", "playbackUrl": "https://livepeercdn.com/asset/ea03f37e-f861-4cdd-b495-0e60b6d753ad/index.m3u8", "downloadUrl": "https://livepeercdn.com/asset/eaw4nk06ts2d0mzb/video", "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "source": {"type": "url", "url": "http://speedy-basil.org"}, "creatorId": {"type": "unverified", "value": "user123"}, "profiles": [], "storage": {"ipfs": {"updatedAt": 1587667174725}, "status": {"phase": "ready", "progress": 0.5, "errorMessage": "Failed to update storage", "tasks": {"pending": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "last": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "failed": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}}}, "status": {"phase": "deleting", "updatedAt": 1587667174725}, "name": "filename.mp4", "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "createdAt": 1587667174725, "size": 84934509, "hash": [], "videoSpec": {"format": "mp4", "duration": 23.8328, "bitrate": 1000000, "tracks": []}}, "key": ""}, "export": {"ipfs": {"videoFileCid": "Qmabc123xyz341", "videoFileUrl": "ipfs://Qmabc123xyz341", "videoFileGatewayUrl": "https://gateway.ipfs.io/ipfs/Qmabc123xyz341", "nftMetadataCid": "Qmabc123xyz341", "nftMetadataUrl": "ipfs://Qmabc123xyz341", "nftMetadataGatewayUrl": "https://gateway.ipfs.io/ipfs/Qmabc123xyz341"}}, "exportData": {"ipfs": {"cid": "Qmabc123xyz341"}}}} + default: + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} + getPlaybackInfo: + speakeasy-default-get-playback-info: + parameters: + path: + id: "" + responses: + "200": + application/json: {"type": "vod", "meta": {"live": 0, "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "source": [], "dvrPlayback": [], "attestation": {"id": "5b9e63bb-6fd0-4bea-aff2-cc5d4eb9cad0", "primaryType": "VideoAttestation", "domain": {"name": "Verifiable Video", "version": "1"}, "message": {"video": "5b9e63bb-6fd0-4bea-aff2-cc5d4eb9cad0", "attestations": [], "signer": "1311768467294899700", "timestamp": 1587667174725}, "signature": "1311768467294899700", "createdAt": 1587667174725, "signatureType": "eip712", "storage": {"ipfs": {"updatedAt": 1587667174725}, "status": {"phase": "ready", "progress": 0.5, "errorMessage": "Failed to update storage", "tasks": {"pending": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "last": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "failed": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}}}}}} + "404": + application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 3c85e91..59caf63 100755 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -12,7 +12,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: true python: - version: 0.1.2 + version: 0.1.3 additionalDependencies: dependencies: {} extraDependencies: diff --git a/README.md b/README.md index a5f7d1e..c8e139c 100644 --- a/README.md +++ b/README.md @@ -151,7 +151,7 @@ s = livepeer.Livepeer( res = None try: - res = s.playback.get(id='') + res = s.playback.get(id='') except errors.Error as e: # handle exception @@ -456,9 +456,31 @@ if res.stream is not None: ``` + +## Summary + +Livepeer API Reference: Welcome to the Livepeer API reference docs. Here you will find all the +endpoints exposed on the standard Livepeer API, learn how to use them and +what they return. + + + +## Table of Contents + +* [SDK Installation](#sdk-installation) +* [SDK Example Usage](#sdk-example-usage) +* [Available Resources and Operations](#available-resources-and-operations) +* [Error Handling](#error-handling) +* [Server Selection](#server-selection) +* [Custom HTTP Client](#custom-http-client) +* [Authentication](#authentication) + + ## SDK Installation +The SDK can be installed using the *pip* package manager, with dependencies and metadata stored in the `setup.py` file. + ```bash pip install git+https://github.com/livepeer/livepeer-python.git ``` @@ -553,38 +575,16 @@ if res.stream is not None: ## Available Resources and Operations -### [stream](docs/sdks/stream/README.md) +
+Available methods -* [create](docs/sdks/stream/README.md#create) - Create a stream -* [get_all](docs/sdks/stream/README.md#get_all) - Retrieve streams -* [get](docs/sdks/stream/README.md#get) - Retrieve a stream -* [update](docs/sdks/stream/README.md#update) - Update a stream -* [delete](docs/sdks/stream/README.md#delete) - Delete a stream -* [terminate](docs/sdks/stream/README.md#terminate) - Terminates a live stream -* [start_pull](docs/sdks/stream/README.md#start_pull) - Start ingest for a pull stream -* [create_clip](docs/sdks/stream/README.md#create_clip) - Create a clip -* [get_clips](docs/sdks/stream/README.md#get_clips) - Retrieve clips of a livestream -* [add_multistream_target](docs/sdks/stream/README.md#add_multistream_target) - Add a multistream target -* [remove_multistream_target](docs/sdks/stream/README.md#remove_multistream_target) - Remove a multistream target - -### [multistream](docs/sdks/multistream/README.md) - -* [get_all](docs/sdks/multistream/README.md#get_all) - Retrieve Multistream Targets -* [create](docs/sdks/multistream/README.md#create) - Create a multistream target -* [get](docs/sdks/multistream/README.md#get) - Retrieve a multistream target -* [update](docs/sdks/multistream/README.md#update) - Update Multistream Target -* [delete](docs/sdks/multistream/README.md#delete) - Delete a multistream target - -### [webhook](docs/sdks/webhook/README.md) +### [access_control](docs/sdks/accesscontrol/README.md) -* [get_all](docs/sdks/webhook/README.md#get_all) - Retrieve a Webhook -* [create](docs/sdks/webhook/README.md#create) - Create a webhook -* [get](docs/sdks/webhook/README.md#get) - Retrieve a webhook -* [update](docs/sdks/webhook/README.md#update) - Update a webhook -* [delete](docs/sdks/webhook/README.md#delete) - Delete a webhook -* [get_logs](docs/sdks/webhook/README.md#get_logs) - Retrieve webhook logs -* [get_log](docs/sdks/webhook/README.md#get_log) - Retrieve a webhook log -* [resend_log](docs/sdks/webhook/README.md#resend_log) - Resend a webhook +* [create](docs/sdks/accesscontrol/README.md#create) - Create a signing key +* [get_all](docs/sdks/accesscontrol/README.md#get_all) - Retrieves signing keys +* [delete](docs/sdks/accesscontrol/README.md#delete) - Delete Signing Key +* [get](docs/sdks/accesscontrol/README.md#get) - Retrieves a signing key +* [update](docs/sdks/accesscontrol/README.md#update) - Update a signing key ### [asset](docs/sdks/asset/README.md) @@ -595,14 +595,28 @@ if res.stream is not None: * [update](docs/sdks/asset/README.md#update) - Patch an asset * [delete](docs/sdks/asset/README.md#delete) - Delete an asset -### [session](docs/sdks/session/README.md) -* [get_clips](docs/sdks/session/README.md#get_clips) - Retrieve clips of a session -* [get_all](docs/sdks/session/README.md#get_all) - Retrieve sessions -* [get](docs/sdks/session/README.md#get) - Retrieve a session -* [get_recorded](docs/sdks/session/README.md#get_recorded) - Retrieve Recorded Sessions +### [metrics](docs/sdks/metrics/README.md) -### [room](docs/sdks/room/README.md) +* [get_realtime_viewership](docs/sdks/metrics/README.md#get_realtime_viewership) - Query realtime viewership +* [get_viewership](docs/sdks/metrics/README.md#get_viewership) - Query viewership metrics +* [get_creator_viewership](docs/sdks/metrics/README.md#get_creator_viewership) - Query creator viewership metrics +* [get_public_viewership](docs/sdks/metrics/README.md#get_public_viewership) - Query public total views metrics +* [get_usage](docs/sdks/metrics/README.md#get_usage) - Query usage metrics + +### [multistream](docs/sdks/multistream/README.md) + +* [get_all](docs/sdks/multistream/README.md#get_all) - Retrieve Multistream Targets +* [create](docs/sdks/multistream/README.md#create) - Create a multistream target +* [get](docs/sdks/multistream/README.md#get) - Retrieve a multistream target +* [update](docs/sdks/multistream/README.md#update) - Update Multistream Target +* [delete](docs/sdks/multistream/README.md#delete) - Delete a multistream target + +### [playback](docs/sdks/playback/README.md) + +* [get](docs/sdks/playback/README.md#get) - Retrieve Playback Info + +### [~~room~~](docs/sdks/room/README.md) * [~~create~~](docs/sdks/room/README.md#create) - Create a room :warning: **Deprecated** * [~~get~~](docs/sdks/room/README.md#get) - Retrieve a room :warning: **Deprecated** @@ -614,21 +628,26 @@ if res.stream is not None: * [~~update_user~~](docs/sdks/room/README.md#update_user) - Update a room user :warning: **Deprecated** * [~~delete_user~~](docs/sdks/room/README.md#delete_user) - Remove a user from the room :warning: **Deprecated** -### [metrics](docs/sdks/metrics/README.md) +### [session](docs/sdks/session/README.md) -* [get_realtime_viewership](docs/sdks/metrics/README.md#get_realtime_viewership) - Query realtime viewership -* [get_viewership](docs/sdks/metrics/README.md#get_viewership) - Query viewership metrics -* [get_creator_viewership](docs/sdks/metrics/README.md#get_creator_viewership) - Query creator viewership metrics -* [get_public_viewership](docs/sdks/metrics/README.md#get_public_viewership) - Query public total views metrics -* [get_usage](docs/sdks/metrics/README.md#get_usage) - Query usage metrics +* [get_clips](docs/sdks/session/README.md#get_clips) - Retrieve clips of a session +* [get_all](docs/sdks/session/README.md#get_all) - Retrieve sessions +* [get](docs/sdks/session/README.md#get) - Retrieve a session +* [get_recorded](docs/sdks/session/README.md#get_recorded) - Retrieve Recorded Sessions -### [access_control](docs/sdks/accesscontrol/README.md) +### [stream](docs/sdks/stream/README.md) -* [create](docs/sdks/accesscontrol/README.md#create) - Create a signing key -* [get_all](docs/sdks/accesscontrol/README.md#get_all) - Retrieves signing keys -* [delete](docs/sdks/accesscontrol/README.md#delete) - Delete Signing Key -* [get](docs/sdks/accesscontrol/README.md#get) - Retrieves a signing key -* [update](docs/sdks/accesscontrol/README.md#update) - Update a signing key +* [create](docs/sdks/stream/README.md#create) - Create a stream +* [get_all](docs/sdks/stream/README.md#get_all) - Retrieve streams +* [get](docs/sdks/stream/README.md#get) - Retrieve a stream +* [update](docs/sdks/stream/README.md#update) - Update a stream +* [delete](docs/sdks/stream/README.md#delete) - Delete a stream +* [terminate](docs/sdks/stream/README.md#terminate) - Terminates a live stream +* [start_pull](docs/sdks/stream/README.md#start_pull) - Start ingest for a pull stream +* [create_clip](docs/sdks/stream/README.md#create_clip) - Create a clip +* [get_clips](docs/sdks/stream/README.md#get_clips) - Retrieve clips of a livestream +* [add_multistream_target](docs/sdks/stream/README.md#add_multistream_target) - Add a multistream target +* [remove_multistream_target](docs/sdks/stream/README.md#remove_multistream_target) - Remove a multistream target ### [task](docs/sdks/task/README.md) @@ -639,9 +658,18 @@ if res.stream is not None: * [create](docs/sdks/transcode/README.md#create) - Transcode a video -### [playback](docs/sdks/playback/README.md) +### [webhook](docs/sdks/webhook/README.md) -* [get](docs/sdks/playback/README.md#get) - Retrieve Playback Info +* [get_all](docs/sdks/webhook/README.md#get_all) - Retrieve a Webhook +* [create](docs/sdks/webhook/README.md#create) - Create a webhook +* [get](docs/sdks/webhook/README.md#get) - Retrieve a webhook +* [update](docs/sdks/webhook/README.md#update) - Update a webhook +* [delete](docs/sdks/webhook/README.md#delete) - Delete a webhook +* [get_logs](docs/sdks/webhook/README.md#get_logs) - Retrieve webhook logs +* [get_log](docs/sdks/webhook/README.md#get_log) - Retrieve a webhook log +* [resend_log](docs/sdks/webhook/README.md#resend_log) - Resend a webhook + +
diff --git a/RELEASES.md b/RELEASES.md index e0d7151..d73657e 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -78,4 +78,12 @@ Based on: - OpenAPI Doc - Speakeasy CLI 1.377.1 (2.404.1) https://github.com/speakeasy-api/speakeasy ### Generated -- [python v0.1.2] . \ No newline at end of file +- [python v0.1.2] . + +## 2024-09-13 00:16:30 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.396.6 (2.415.6) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.1.3] . \ No newline at end of file diff --git a/docs/models/components/recordingstatus.md b/docs/models/components/recordingstatus.md index 4235018..5fccebc 100644 --- a/docs/models/components/recordingstatus.md +++ b/docs/models/components/recordingstatus.md @@ -10,4 +10,5 @@ The status of the recording process of this stream session. | `WAITING` | waiting | | `READY` | ready | | `FAILED` | failed | +| `DELETED` | deleted | | `NONE` | none | \ No newline at end of file diff --git a/docs/models/components/task.md b/docs/models/components/task.md index b1f8423..7bee564 100644 --- a/docs/models/components/task.md +++ b/docs/models/components/task.md @@ -11,6 +11,7 @@ | `scheduled_at` | *Optional[float]* | :heavy_minus_sign: | Timestamp (in milliseconds) at which the task was scheduled for
execution (e.g. after file upload finished).
| 1587667174725 | | `input_asset_id` | *Optional[str]* | :heavy_minus_sign: | ID of the input asset | 09F8B46C-61A0-4254-9875-F71F4C605BC7 | | `output_asset_id` | *Optional[str]* | :heavy_minus_sign: | ID of the output asset | 09F8B46C-61A0-4254-9875-F71F4C605BC7 | +| `project_id` | *Optional[str]* | :heavy_minus_sign: | ID of the project | 09F8B46C-61A0-4254-9875-F71F4C605BC7 | | `requester_id` | *Optional[str]* | :heavy_minus_sign: | ID of the requester hash(IP + SALT + PlaybackId) | 09F8B46C-61A0-4254-9875-F71F4C605BC7 | | `params` | [Optional[components.Params]](../../models/components/params.md) | :heavy_minus_sign: | Parameters of the task | | | `status` | [Optional[components.TaskStatus]](../../models/components/taskstatus.md) | :heavy_minus_sign: | Status of the task | | diff --git a/docs/sdks/metrics/README.md b/docs/sdks/metrics/README.md index 16ea41c..9c3568f 100644 --- a/docs/sdks/metrics/README.md +++ b/docs/sdks/metrics/README.md @@ -64,13 +64,14 @@ Requires a private (non-CORS) API key to be used. ```python import livepeer +from livepeer.models import operations s = livepeer.Livepeer( api_key="", ) -res = s.metrics.get_viewership() +res = s.metrics.get_viewership(request=operations.GetViewershipMetricsRequest()) if res.data is not None: # handle response @@ -104,13 +105,14 @@ Requires a proof of ownership to be sent in the request, which for now is just t ```python import livepeer +from livepeer.models import operations s = livepeer.Livepeer( api_key="", ) -res = s.metrics.get_creator_viewership() +res = s.metrics.get_creator_viewership(request=operations.GetCreatorViewershipMetricsRequest()) if res.data is not None: # handle response @@ -185,13 +187,14 @@ Query usage metrics ```python import livepeer +from livepeer.models import operations s = livepeer.Livepeer( api_key="", ) -res = s.metrics.get_usage() +res = s.metrics.get_usage(request=operations.GetUsageMetricsRequest()) if res.usage_metric is not None: # handle response diff --git a/docs/sdks/multistream/README.md b/docs/sdks/multistream/README.md index b1c5547..41900a5 100644 --- a/docs/sdks/multistream/README.md +++ b/docs/sdks/multistream/README.md @@ -102,7 +102,7 @@ s = livepeer.Livepeer( ) -res = s.multistream.get(id='') +res = s.multistream.get(id='') if res.multistream_target is not None: # handle response @@ -142,7 +142,7 @@ s = livepeer.Livepeer( ) -res = s.multistream.update(id='', multistream_target_patch_payload=components.MultistreamTargetPatchPayload( +res = s.multistream.update(id='', multistream_target_patch_payload=components.MultistreamTargetPatchPayload( url='rtmps://live.my-service.tv/channel/secretKey', )) @@ -186,7 +186,7 @@ s = livepeer.Livepeer( ) -res = s.multistream.delete(id='') +res = s.multistream.delete(id='') if res is not None: # handle response diff --git a/docs/sdks/playback/README.md b/docs/sdks/playback/README.md index 8e8d662..422b7f3 100644 --- a/docs/sdks/playback/README.md +++ b/docs/sdks/playback/README.md @@ -23,7 +23,7 @@ s = livepeer.Livepeer( ) -res = s.playback.get(id='') +res = s.playback.get(id='') if res.playback_info is not None: # handle response diff --git a/docs/sdks/room/README.md b/docs/sdks/room/README.md index a9a0362..eb7fc16 100644 --- a/docs/sdks/room/README.md +++ b/docs/sdks/room/README.md @@ -69,7 +69,7 @@ s = livepeer.Livepeer( ) -res = s.room.get(id='') +res = s.room.get(id='') if res.room is not None: # handle response @@ -110,7 +110,7 @@ s = livepeer.Livepeer( ) -res = s.room.delete(id='') +res = s.room.delete(id='') if res is not None: # handle response @@ -154,7 +154,7 @@ s = livepeer.Livepeer( ) -res = s.room.start_egress(id='', room_egress_payload=components.RoomEgressPayload( +res = s.room.start_egress(id='', room_egress_payload=components.RoomEgressPayload( stream_id='aac12556-4d65-4d34-9fb6-d1f0985eb0a9', )) @@ -198,7 +198,7 @@ s = livepeer.Livepeer( ) -res = s.room.stop_egress(id='') +res = s.room.stop_egress(id='') if res is not None: # handle response @@ -243,7 +243,7 @@ s = livepeer.Livepeer( ) -res = s.room.create_user(id='', room_user_payload=components.RoomUserPayload( +res = s.room.create_user(id='', room_user_payload=components.RoomUserPayload( name='name', can_publish=True, can_publish_data=True, @@ -289,7 +289,7 @@ s = livepeer.Livepeer( ) -res = s.room.get_user(id='', user_id='') +res = s.room.get_user(id='', user_id='') if res.get_room_user_response is not None: # handle response @@ -332,7 +332,7 @@ s = livepeer.Livepeer( ) -res = s.room.update_user(id='', user_id='', room_user_update_payload=components.RoomUserUpdatePayload( +res = s.room.update_user(id='', user_id='', room_user_update_payload=components.RoomUserUpdatePayload( can_publish=True, can_publish_data=True, )) @@ -378,7 +378,7 @@ s = livepeer.Livepeer( ) -res = s.room.delete_user(id='', user_id='') +res = s.room.delete_user(id='', user_id='') if res is not None: # handle response diff --git a/docs/sdks/session/README.md b/docs/sdks/session/README.md index ec46e7a..06400f9 100644 --- a/docs/sdks/session/README.md +++ b/docs/sdks/session/README.md @@ -26,7 +26,7 @@ s = livepeer.Livepeer( ) -res = s.session.get_clips(id='') +res = s.session.get_clips(id='') if res.data is not None: # handle response @@ -98,7 +98,7 @@ s = livepeer.Livepeer( ) -res = s.session.get(id='') +res = s.session.get(id='') if res.session is not None: # handle response diff --git a/docs/sdks/stream/README.md b/docs/sdks/stream/README.md index 45bcc6f..e2d4126 100644 --- a/docs/sdks/stream/README.md +++ b/docs/sdks/stream/README.md @@ -188,7 +188,7 @@ s = livepeer.Livepeer( ) -res = s.stream.get(id='') +res = s.stream.get(id='') if res.stream is not None: # handle response @@ -228,7 +228,7 @@ s = livepeer.Livepeer( ) -res = s.stream.update(id='', stream_patch_payload=components.StreamPatchPayload( +res = s.stream.update(id='', stream_patch_payload=components.StreamPatchPayload( record=False, multistream=components.Multistream( targets=[ @@ -324,7 +324,7 @@ s = livepeer.Livepeer( ) -res = s.stream.delete(id='') +res = s.stream.delete(id='') if res is not None: # handle response @@ -371,7 +371,7 @@ s = livepeer.Livepeer( ) -res = s.stream.terminate(id='') +res = s.stream.terminate(id='') if res is not None: # handle response @@ -417,7 +417,7 @@ s = livepeer.Livepeer( ) -res = s.stream.start_pull(id='') +res = s.stream.start_pull(id='') if res is not None: # handle response @@ -502,7 +502,7 @@ s = livepeer.Livepeer( ) -res = s.stream.get_clips(id='') +res = s.stream.get_clips(id='') if res.data is not None: # handle response @@ -542,7 +542,7 @@ s = livepeer.Livepeer( ) -res = s.stream.add_multistream_target(id='', target_add_payload=components.TargetAddPayload( +res = s.stream.add_multistream_target(id='', target_add_payload=components.TargetAddPayload( profile='720p0', video_only=False, id='PUSH123', @@ -590,7 +590,7 @@ s = livepeer.Livepeer( ) -res = s.stream.remove_multistream_target(id='', target_id='') +res = s.stream.remove_multistream_target(id='', target_id='') if res is not None: # handle response diff --git a/docs/sdks/webhook/README.md b/docs/sdks/webhook/README.md index 7741e4e..fc05379 100644 --- a/docs/sdks/webhook/README.md +++ b/docs/sdks/webhook/README.md @@ -114,7 +114,7 @@ s = livepeer.Livepeer( ) -res = s.webhook.get(id='') +res = s.webhook.get(id='') if res.webhook is not None: # handle response @@ -154,7 +154,7 @@ s = livepeer.Livepeer( ) -res = s.webhook.update(id='', webhook=components.WebhookInput( +res = s.webhook.update(id='', webhook=components.WebhookInput( name='test_webhook', url='https://my-service.com/webhook', project_id='aac12556-4d65-4d34-9fb6-d1f0985eb0a9', @@ -204,7 +204,7 @@ s = livepeer.Livepeer( ) -res = s.webhook.delete(id='') +res = s.webhook.delete(id='') if res.webhook is not None: # handle response @@ -243,7 +243,7 @@ s = livepeer.Livepeer( ) -res = s.webhook.get_logs(id='') +res = s.webhook.get_logs(id='') if res.data is not None: # handle response @@ -282,7 +282,7 @@ s = livepeer.Livepeer( ) -res = s.webhook.get_log(id='', log_id='') +res = s.webhook.get_log(id='', log_id='') if res.webhook_log is not None: # handle response @@ -325,7 +325,7 @@ s = livepeer.Livepeer( ) -res = s.webhook.resend_log(id='', log_id='') +res = s.webhook.resend_log(id='', log_id='') if res.webhook_log is not None: # handle response diff --git a/setup.py b/setup.py index 16d66ac..12da4c6 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ setuptools.setup( name='livepeer', - version='0.1.2', + version='0.1.3', author='Livepeer', description='Python Client SDK for Livepeer Studio', url='https://github.com/livepeer/livepeer-python.git', diff --git a/src/livepeer/models/components/session.py b/src/livepeer/models/components/session.py index 5f9a0d9..eba5185 100644 --- a/src/livepeer/models/components/session.py +++ b/src/livepeer/models/components/session.py @@ -15,6 +15,7 @@ class RecordingStatus(str, Enum): WAITING = 'waiting' READY = 'ready' FAILED = 'failed' + DELETED = 'deleted' NONE = 'none' diff --git a/src/livepeer/models/components/task.py b/src/livepeer/models/components/task.py index 3893178..532ee84 100644 --- a/src/livepeer/models/components/task.py +++ b/src/livepeer/models/components/task.py @@ -314,6 +314,8 @@ class Task: r"""ID of the input asset""" output_asset_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('outputAssetId'), 'exclude': lambda f: f is None }}) r"""ID of the output asset""" + project_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('projectId'), 'exclude': lambda f: f is None }}) + r"""ID of the project""" requester_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('requesterId'), 'exclude': lambda f: f is None }}) r"""ID of the requester hash(IP + SALT + PlaybackId)""" params: Optional[Params] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('params'), 'exclude': lambda f: f is None }}) diff --git a/src/livepeer/sdkconfiguration.py b/src/livepeer/sdkconfiguration.py index 8e159e2..ae5494e 100644 --- a/src/livepeer/sdkconfiguration.py +++ b/src/livepeer/sdkconfiguration.py @@ -23,9 +23,9 @@ class SDKConfiguration: server_idx: Optional[int] = 0 language: str = 'python' openapi_doc_version: str = '1.0.0' - sdk_version: str = '0.1.2' - gen_version: str = '2.404.1' - user_agent: str = 'speakeasy-sdk/python 0.1.2 2.404.1 1.0.0 livepeer' + sdk_version: str = '0.1.3' + gen_version: str = '2.415.6' + user_agent: str = 'speakeasy-sdk/python 0.1.3 2.415.6 1.0.0 livepeer' retry_config: Optional[RetryConfig] = None def __post_init__(self):