@@ -504,7 +504,8 @@ objects:
504504 if not available.
505505 - name : description
506506 type : String
507- description : A description of the episode.
507+ description : " A description of the episode. HTML tags are stripped away from\
508+ \ this field, use `html_description` field in case HTML tags are needed."
508509 - name : duration_ms
509510 type : Integer
510511 description : The episode length in milliseconds.
@@ -518,6 +519,9 @@ objects:
518519 - name : href
519520 type : String
520521 description : A link to the Web API endpoint providing full details of the episode.
522+ - name : html_description
523+ type : String
524+ description : A description of the episode. This field may contain HTML tags.
521525 - name : id
522526 type : String
523527 description : " The [Spotify ID](https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids)\
@@ -553,6 +557,11 @@ objects:
553557 type : String
554558 description : " The precision with which `release_date` value is known: `\" year\" \
555559 `, `\" month\" `, or `\" day\" `."
560+ - name : restrictions
561+ type : EpisodeRestrictionObject
562+ description : " Included in the response when a content restriction is applied.\
563+ \ See [Restriction Object](https://developer.spotify.com/documentation/web-api/reference/#object-episoderestrictionobject)\
564+ \ for more details."
556565 - name : resume_point
557566 type : ResumePointObject
558567 description : The user's most recent position in the episode. Set if the supplied
@@ -567,6 +576,20 @@ objects:
567576 type : String
568577 description : " The [Spotify URI](https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids)\
569578 \ for the episode."
579+ EpisodeRestrictionObject :
580+ name : EpisodeRestrictionObject
581+ id : object-episoderestrictionobject
582+ link : https://developer.spotify.com/documentation/web-api/reference/#object-episoderestrictionobject
583+ properties :
584+ - name : reason
585+ type : String
586+ description : " The reason for the restriction. Supported values: \n\n - `market`\
587+ \ - The content item is not available in the given market. \n - `product`\
588+ \ - The content item is not available for the user's subscription type. \n \
589+ - `explicit` - The content item is explicit and the user's account is set\
590+ \ to not play explicit content. \n Additional reasons may be added in the\
591+ \ future. **Note**: If you use this field, make sure that your application\
592+ \ safely handles unknown values."
570593 EpisodesObject :
571594 name : EpisodesObject
572595 properties :
@@ -1339,7 +1362,8 @@ objects:
13391362 if not available.
13401363 - name : description
13411364 type : String
1342- description : A description of the episode.
1365+ description : " A description of the episode. HTML tags are stripped away from\
1366+ \ this field, use `html_description` field in case HTML tags are needed."
13431367 - name : duration_ms
13441368 type : Integer
13451369 description : The episode length in milliseconds.
@@ -1353,6 +1377,9 @@ objects:
13531377 - name : href
13541378 type : String
13551379 description : A link to the Web API endpoint providing full details of the episode.
1380+ - name : html_description
1381+ type : String
1382+ description : A description of the episode. This field may contain HTML tags.
13561383 - name : id
13571384 type : String
13581385 description : " The [Spotify ID](https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids)\
@@ -1388,6 +1415,11 @@ objects:
13881415 type : String
13891416 description : " The precision with which `release_date` value is known: `\" year\" \
13901417 `, `\" month\" `, or `\" day\" `."
1418+ - name : restrictions
1419+ type : EpisodeRestrictionObject
1420+ description : " Included in the response when a content restriction is applied.\
1421+ \ See [Restriction Object](https://developer.spotify.com/documentation/web-api/reference/#object-episoderestrictionobject)\
1422+ \ for more details."
13911423 - name : resume_point
13921424 type : ResumePointObject
13931425 description : The user's most recent position in the episode. Set if the supplied
0 commit comments