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.
Path parameters
| Name | Type | Description |
|---|---|---|
| profile_idRequired | string | Public profile ID |
Responses
| Name | Type | Description |
|---|---|---|
| profile | object | The profile. |
| content_slots | integer | Number of content slots stored in the profile. |
| created_at | string (date-time) | When the profile was first saved (RFC3339). |
| has_content | boolean | Whether the profile carries a content schedule layer; a stored but empty layer clears the
stream's content schedule on apply. |
| has_music | boolean | 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_snapshot | boolean | 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_slots | integer | Number of music slots stored in the profile. |
| name | string | Display name of the profile. |
| profile_id | string | UUID of the profile. |
| updated_at | string (date-time) | When the profile was last overwritten or renamed (RFC3339). |
| success | boolean | Always true on success. |
| Name | Type | Description |
|---|---|---|
| profile | object | The profile. |
| content_slots | integer | Number of content slots stored in the profile. |
| created_at | string (date-time) | When the profile was first saved (RFC3339). |
| has_content | boolean | Whether the profile carries a content schedule layer; a stored but empty layer clears the
stream's content schedule on apply. |
| has_music | boolean | 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_snapshot | boolean | 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_slots | integer | Number of music slots stored in the profile. |
| name | string | Display name of the profile. |
| profile_id | string | UUID of the profile. |
| updated_at | string (date-time) | When the profile was last overwritten or renamed (RFC3339). |
| success | boolean | Always true on success. |
| Name | Type | Description |
|---|---|---|
| message | string | Error code or human-readable error details. |
| success | boolean | Always false for error payloads. |
| Name | Type | Description |
|---|---|---|
| message | string | Error code or human-readable error details. |
| success | boolean | Always false for error payloads. |
| Name | Type | Description |
|---|---|---|
| message | string | Error code or human-readable error details. |
| success | boolean | Always false for error payloads. |
| Name | Type | Description |
|---|---|---|
| message | string | Error code or human-readable error details. |
| success | boolean | Always false for error payloads. |