The Movie Database 支持

Hey, this issue doesn't break anything for me but wanted to bring it to your attention that the changes API is returning null values for some an id and a null value for the adult field.

Here is the offending URL minus the API key: https://api.themoviedb.org/3/tv/changes?api_key=APIKEY&language=en-US&append_to_response=alternative_titles,content_ratings,credits,external_ids,images&include_image_language=en,null&start_date=2018-02-22&page=5&end_date=2018-02-25

And just in case it changes, I've pasted the results in a gist

My other question is, any idea why the results would be different when running the above URL without an end_date? Does this mean it's not including results from 2-25 if I use that end_date?

Thanks. Let me know if you have any questions.

7 回复(第 1 页,共 1 页)

Jump to last post

Hi @heyoni,

With regards to the id being null, not sure. That shouldn't happen. I'll have to take a look. With regards to adult being null, yes, that means the record has been deleted. That is by design.

The default query without a specified end_date uses the current time. There's a 10 minute cache on the change methods it seems to me, so anywhere between the current time and 10 minutes ago.

P.S. the change methods don't support any of those extra params you're using so there's not much point in passing them in wink

https://api.themoviedb.org/3/tv/changes?api_key=###&start_date=2018-02-22&end_date=2018-02-25&page=5

Whoops, you're right about those flags!

Found another one here: https://api.themoviedb.org/3/tv/changes?api_key=APIKEY&start_date=2018-02-24&page=8&end_date=2018-02-26

Is it helpful if I keep reporting new instances of this? Let me know!

@travisbell said:

Hi @heyoni,

With regards to the id being null, not sure. That shouldn't happen. I'll have to take a look. With regards to adult being null, yes, that means the record has been deleted. That is by design.

The default query without a specified end_date uses the current time. There's a 10 minute cache on the change methods it seems to me, so anywhere between the current time and 10 minutes ago.

P.S. the change methods don't support any of those extra params you're using so there's not much point in passing them in wink

https://api.themoviedb.org/3/tv/changes?api_key=###&start_date=2018-02-22&end_date=2018-02-25&page=5

Hi, @travisbell ! We also get null in id field. Check several pages after 92 http://api.themoviedb.org:80/3/movie/changes?page=92&start_date=2018-03-07&api_key=xxx

Hi! I've spotted null in id and adult again, item #23:

http://api.themoviedb.org:80/3/tv/changes?start_date=2018-05-07&end_date=2018-05-08&page=2&api_key=xxx

Hi @horse315, null items can appear in the changes feeds from time to time. That is a different issue than @heyoni's credit id issue.

The null items in the change feeds can be ignored.

@travisbell said:

null items can appear in the changes feeds from time to time.

Is it a bug? Coz it violates spesc changes/get-movie-change-list . Unlike the adult field, id is not marked as or null

Technically it's a bug yes but it's a low priority item for me to fix. It's an issue that is created when the item is deleted and not specific to the actual change lists.

找不到电影或剧集?登录并创建它吧。

全站通用

s 聚焦到搜索栏
p 打开个人资料菜单
esc 关闭打开的窗口
? 打开键盘快捷键窗口

在媒体页面

b 返回(或返回上级)
e 进入编辑页面

在电视季页面

(右箭头)下一季
(左箭头)前一季

在电视集页面

(右箭头)下一集
(左箭头)前一集

在所有图像页面

a 打开添加图片窗口

在所有编辑页面

t 打开翻译选择器
ctrl+ s 提交

在讨论页面

n 创建新讨论
w 切换关注状态
p 设为公开 / 私密讨论
c 关闭 / 开放讨论
a 打开活动页
r 回复讨论
l 跳转至最新回复
ctrl+ enter 发送信息
(右箭头)下一页
(左箭头)前一页

设置

想给这个条目评分或将其添加到片单中?

登录

还不是会员?

注册加入社区