Schedule Profiles

Copy a public schedule profile into your library

POST
https://api.tunio.ai/v1/schedule-profiles-public/copy/{profile_id}

Imports a profile from the shared catalog as a private copy in the caller's library, with its schedule frozen at import time. A new copy is answered with 201. Copying the same source again creates nothing and answers 200 with the existing copy. Apply the copy with POST /v1/schedule-profiles/{profile_id}/apply, using the profile_id of the copy.

路径参数

名称类型说明
profile_idRequiredstringPublic profile ID

响应

名称类型说明
profileobject
The profile.
content_slotsinteger
Number of content slots stored in the profile.
created_atstring (date-time)
When the profile was first saved (RFC3339).
has_contentboolean
Whether the profile carries a content schedule layer; a stored but empty layer clears the stream's content schedule on apply.
has_musicboolean
Whether the profile carries a music schedule layer at all, which music_slots cannot tell: a stored but empty layer clears the stream's music schedule on apply.
is_auto_snapshotboolean
true for a snapshot taken automatically before a schedule replace (PUT); only the last 20 per stream are kept. Always false in the public catalog.
music_slotsinteger
Number of music slots stored in the profile.
namestring
Display name of the profile.
profile_idstring
UUID of the profile.
updated_atstring (date-time)
When the profile was last overwritten or renamed (RFC3339).
successboolean
Always true on success.
名称类型说明
profileobject
The profile.
content_slotsinteger
Number of content slots stored in the profile.
created_atstring (date-time)
When the profile was first saved (RFC3339).
has_contentboolean
Whether the profile carries a content schedule layer; a stored but empty layer clears the stream's content schedule on apply.
has_musicboolean
Whether the profile carries a music schedule layer at all, which music_slots cannot tell: a stored but empty layer clears the stream's music schedule on apply.
is_auto_snapshotboolean
true for a snapshot taken automatically before a schedule replace (PUT); only the last 20 per stream are kept. Always false in the public catalog.
music_slotsinteger
Number of music slots stored in the profile.
namestring
Display name of the profile.
profile_idstring
UUID of the profile.
updated_atstring (date-time)
When the profile was last overwritten or renamed (RFC3339).
successboolean
Always true on success.
名称类型说明
messagestring
Error code or human-readable error details.
successboolean
Always false for error payloads.
名称类型说明
messagestring
Error code or human-readable error details.
successboolean
Always false for error payloads.
名称类型说明
messagestring
Error code or human-readable error details.
successboolean
Always false for error payloads.
名称类型说明
messagestring
Error code or human-readable error details.
successboolean
Always false for error payloads.