Overview
IAM
- Account
- Users
- API Tokens
CDN
- IP addresses list
- CDN service
- Origins
- CDN resources
- CDN activity logs
- Log forwarding
- Log viewer
- Logs uploader
- Tools
- Rules
- Rule templates
- Purge history
- SSL certificates
- CA certificates
- CDN Statistics
- Advanced analytics
- Origin shielding
- Let's Encrypt certificates
Managed DNS
- Analyze
- Locations
- Lookup
- Metrics
- Pickers
- DNS Clients
- Zones
- DNSSEC
- RRsets
Cloud
- Bare Metal
- Container as a Service
- Cost Reports
- DDOS Protection
- File Shares
- Floating IPs
- Function as a Service
- GPU Cloud
- IP Ranges
- Images
- Inference Instances
- Instances
- Load Balancers
- Logging
- Managed Kubernetes
- Managed PostgreSQL
- Networks
- Placement Groups
- Projects
- Quotas
- Regions
- Registry
- Reservations
- Reserved IPs
- Routers
- SSH Keys
- Secrets
- Security Groups
- Snapshot Schedules
- Snapshots
- Tasks
- User Actions
- User Role Assignments
- Volumes
DDoS Protection
- Event Logs
- BGP announces
- Security Templates
- Profiles
FastEdge
- Apps
- Binaries
- FastEdge Clients
- FastEdge Secrets
- Stats
- FastEdge Templates
WAAP
- WAAP Service
- Domains
- Policies
- Analytics
- Custom Page Sets
- Custom Rules
- Firewall Rules
- Advanced Rules
- Tags
- Network Organizations
- API Discovery
- IP Spotlight
- Security Insights
Streaming
- Streams
- Overlays
- Broadcasts
- Restreams
- Videos
- Subtitles
- Directories
- Playlists
- QualitySets
- Players
- AI
- Streaming Statistics
Object Storage
- Notifications
- Key
- Location
- Storage
- Storage Statistics
Players
Change player
Updates player settings
PATCH
/
streaming
/
players
/
{player_id}
Change player
Copy
Ask AI
curl --request PATCH \
--url https://api.gcore.com/streaming/players/{player_id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"player": [
{
"id": 33,
"name": "Player",
"client_id": 100,
"design": "",
"custom_css": "",
"js_url": "",
"skin_js_url": "",
"bg_color": "#3313df",
"fg_color": "#FFFFFF",
"text_color": "#FFFFFF",
"hover_color": "#ef9047",
"autoplay": true,
"mute": false,
"disable_skin": false,
"save_options_to_cookies": false,
"show_sharing": true,
"speed_control": false
}
]
}'
Copy
Ask AI
[
{
"id": 33,
"name": "Player",
"client_id": 100,
"design": "",
"custom_css": "",
"js_url": "",
"skin_js_url": "",
"bg_color": "#3313df",
"fg_color": "#FFFFFF",
"text_color": "#FFFFFF",
"hover_color": "#ef9047",
"autoplay": true,
"mute": false,
"disable_skin": false,
"save_options_to_cookies": false,
"show_sharing": true,
"speed_control": false
}
]
Authorizations
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
Path Parameters
Player ID.
IDs of all created players can be received via Get All Players request
Body
application/json
Response
200 - application/json
Successful
Set of properties for displaying videos. All parameters may be blank to inherit their values from default Streaming player.
Was this page helpful?
Change player
Copy
Ask AI
curl --request PATCH \
--url https://api.gcore.com/streaming/players/{player_id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"player": [
{
"id": 33,
"name": "Player",
"client_id": 100,
"design": "",
"custom_css": "",
"js_url": "",
"skin_js_url": "",
"bg_color": "#3313df",
"fg_color": "#FFFFFF",
"text_color": "#FFFFFF",
"hover_color": "#ef9047",
"autoplay": true,
"mute": false,
"disable_skin": false,
"save_options_to_cookies": false,
"show_sharing": true,
"speed_control": false
}
]
}'
Copy
Ask AI
[
{
"id": 33,
"name": "Player",
"client_id": 100,
"design": "",
"custom_css": "",
"js_url": "",
"skin_js_url": "",
"bg_color": "#3313df",
"fg_color": "#FFFFFF",
"text_color": "#FFFFFF",
"hover_color": "#ef9047",
"autoplay": true,
"mute": false,
"disable_skin": false,
"save_options_to_cookies": false,
"show_sharing": true,
"speed_control": false
}
]
Assistant
Responses are generated using AI and may contain mistakes.