Repository navigation
chore: update Console SDK to 0.19.0 - #187
Conversation
Adds the videos service and the project video profile methods to the hosted catalog. Videos calls take a project_id like other project APIs. Neither has been reviewed for project API keys yet, so both stay out of the API-key catalog.
Code review
Updates the Appwrite Console SDK dependency to 0.19.x and adds the SDK's video and video-profile methods to the hosted tool catalog, requiring project context for hosted Latest changes: Adds an end-to-end check that Walkthrough (9)
Fixed since the last review (1)
Reviewed the commits since Tip Comment |
Every project service method calls /project/*, which acts on the client's project. Without project context a hosted call fell back to the console project, so video profiles (and the other project settings tools) could not reach the user's project.
Each videos_create_rendition call starts an encode the project is billed compute for, so it waits for the user's approval like the other paid writes.
The findings that requested changes are resolved. See the summary comment for what is still open.

Updates
appwrite-consolefrom 0.18.0 to 0.19.0 (>=0.19.0,<0.20).Added to the hosted catalog (26 tools, none removed):
videos_*(21):create,list,get,update,delete;create_rendition,list_renditions,get_rendition,delete_rendition;create_caption,list_captions,update_caption,delete_caption;get_hls_manifest,get_dash_manifest,get_cmaf_hls_manifest,get_cmaf_dash_manifest,get_caption_manifest,get_thumbnail,get_timeline;list_codecsproject_*_video_profile(s)(5):list_video_profiles,create_video_profile,get_video_profile,update_video_profile,delete_video_profilevideosis not inAPI_KEY_SERVICES, so it stays out of API-key stdio until it is reviewed.projectjoins the project-scoped services because all 114 of its methods call/project/*, which acts on the client's project; before, a hostedproject_*call withoutproject_idfell back to the console project.Tests assert the 26 tools by name (
CONSOLE_SDK_0_19_TOOLS), that they are project-scoped, and that none of them reach the API-key catalog.Checks: ruff, black, pyright (0 errors), unit (308 OK), e2e (66 OK).
Paid writes
videos_create_renditionis added toPAID_TOOLS: each call starts an encode the project is billed compute for, so it waits for the user's approval like the other paid writes.Related: appwrite-labs/cloud#6667