תמיכת The Movie Database

Hi,

I've noticed a slight difference in the releases data associated with a movie depending upon how the data is fetched.

When I use this API:

/movie/{movie_id}?append_to_response=releases

I get a list of release dates, but there is no "type" integer property. Instead there is a "primary" boolean property, and after reviewing a few responses it looks to only contain theater releases.

When I use this API:

/movie/{movie_id}/release_dates

I get a list of release dates with the "type" integer property, and it appears to contain releases for different types (theater, DVD, etc..)

Can you clarify if this is correct? Is the append_to_response for releases not the same data as the release_dates API.

Thanks,

2 תגובות (בדף 1 מתוך 1)

Jump to last post

Hi Mathew,

Releases is the old, deprecated method. There's no real reason to use it anymore. You can assume what is documented is the proper, current version of things. I would stick with the newer, /release_dates method. It contains all the newer data like release types.

You can of course use it with append_to_response as well 😉

Oh that's great. thank you!

.לא מצאת סרט או סדרה? היכנס כדי ליצור אותם

עולמי

s התמקד בשורת החיפוש
p פתח תפריט פרופיל
esc סגור חלון פתוח
? פתח חלון קיצורי דרך של מקלדת

בדפי מדיה

b לך חזרה (או אל הורה אם ישים)
e לך אל דף עריכה

בדפי עונות

(חץ ימני) לך אל העונה הבאה
(חץ שמאלי) לך אל העונה הקודמת

בדפי סדרות

(חץ ימני) לך אל הפרק הבא
(חץ שמאלי) לך אל הפרק הקודם

בכל דפי תמונה

a פתח חלון הוספת תמונה

בכל דפי עריכה

t פתח בוחר תרגום
ctrl+ s הגש טופס

בדפי דיון

n צור דיון חדש
w עורר מעמד צפייה
p עורר ציבורי/פרטי
c עורר סגירה/פתיחה
a פתח פעילות
r השב אל דיון
l לך אל תשובה אחרונה
ctrl+ enter הגש את הודעתך
(חץ ימני) הדף הבא
(חץ שמאלי) הדף הקודם

הגדרות

?רוצה לדרג או להוסיף פריט אל רשימה

היכנס