update player
Developing
PUT
/projects/{projectId}/players/{playerId}
Update a player for a project
PUT
/projects/<project_id>/players/<player_id>
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.vidinfra.com/v1/projects/f32a0116-fe11-454c-8e6a-5ff4101882e5/players/967bb2e1-bf97-4651-b65c-acefd4df84da'
Response Response Example
200 - OK - Success
{"message":"Player updated successfully","result":{"id":"00000000-0000-0000-0000-000000000000","user_id":"10bb71cf-57e0-436d-a449-0b68ef13c731","collection_id":"00000000-0000-0000-0000-000000000000","project_id":"5eca71a3-bc93-45cf-ad6e-45be2961f921","name":"Sample Player bot","primary_color":"#FFFFFF","custom_html":"<p>Custom HTML</p>","language":"en","font_family":"Arial","font_size":14,"caption":"Sample Caption","controls":"Sample Controls","settings":"Sample Settings","is_default":true,"created_at":"0001-01-01T00:00:00Z","updated_at":"2024-02-06T11:16:19.922581159Z","created_by":null,"updated_by":"10bb71cf-57e0-436d-a449-0b68ef13c731"},"success":true}
Request
Path Params
projectId
stringÂ
required
Example:
f32a0116-fe11-454c-8e6a-5ff4101882e5
playerId
stringÂ
required
Example:
967bb2e1-bf97-4651-b65c-acefd4df84da
Body Params multipart/form-data
brand_logo
fileÂ
optional
Example:
file:///home/raka/Documents/gotipath/note/logo/gotipath_dark.png
name
stringÂ
optional
Example:
Player 1 upated
primary_color
stringÂ
optional
Example:
#111111
custom_html
stringÂ
optional
Example:
Custom HTML
language
stringÂ
optional
Example:
en
font_family
stringÂ
optional
Example:
Arial
font_size
integerÂ
optional
Example:
15
caption
stringÂ
optional
Example:
Sample caption
controls
stringÂ
optional
Example:
{"big_play_button":true,"play_pause_button":true,"setting_button":true,"volume_control":true,"mute_button":true,"caption_button":true,"picture_in_picture":true,"seekbar":true,"double_tap":true,"cast":true,"fullscreen":true}
settings
stringÂ
optional
Example:
{"caption":true,"video_quality":true,"speed_control":true,"video_loop":true}
is_default
integerÂ
optional
Example:
0
logo_redirect_url
stringÂ
optional
Example:
https://res.cloudinary.com/dqo0ssnti/image/upload/v1642489744/samples/1007550_t0uscy.jpg
Responses
Modified at 2025-06-19 04:59:01