tag:danbooru.me,2005:/forum_topics/16610 pixiv_ugoira_frame_data 2020-02-25T02:33:20-05:00 tag:danbooru.me,2005:ForumPost/163420 2020-02-25T02:33:20-05:00 2020-02-25T02:33:20-05:00 @evazion: This was fixed. A... <p>This was fixed. A <a rel="external nofollow noreferrer" class="dtext-link dtext-external-link" href="/pixiv_ugoira_frame_data.json">/pixiv_ugoira_frame_data.json</a> endpoint was also added.</p> evazion /users/52664 tag:danbooru.me,2005:ForumPost/163360 2020-02-22T20:12:38-05:00 2020-02-22T20:12:38-05:00 @evazion: Will be fixed in the next update. This was... <p>Will be fixed in the next update. This was intended to be available with the only param. It was removed by default because fetching it added overhead to all API calls, even though most posts didn't have frame data and most API users didn't need it.</p> evazion /users/52664 tag:danbooru.me,2005:ForumPost/163359 2020-02-22T19:41:52-05:00 2020-02-22T19:41:52-05:00 @nonamethanks: I've opened issue #4308 for it. <p>I've opened <a rel="external nofollow noreferrer" class="dtext-link dtext-id-link dtext-github-id-link" href="https://github.com/r888888888/danbooru/issues/4308">issue #4308</a> for it.</p> nonamethanks /users/508240 tag:danbooru.me,2005:ForumPost/163358 2020-02-22T19:24:17-05:00 2020-02-22T19:24:17-05:00 @BrokenEagle98: > mikf said: > > Commit 8649ff6d removed... <blockquote> <p>mikf said:</p> <p>Commit <a rel="external nofollow noreferrer" class="dtext-link dtext-external-link dtext-named-external-link" href="https://github.com/danbooru/danbooru/commit/8649ff6dbe313c36cdb02f3aa096528ccca18225">8649ff6d</a> removed various metadata fields, including <em>pixiv_ugoira_frame_data</em>.</p> <p>Apparently it is possible to use the <em>only</em> query parameter to restore certain fields if necessary, but there doesn't seem a way to do that for <em>pixiv_ugoira_frame_data</em>. I've tried various ways, which all failed, and the <em>available_includes</em> in <a rel="external nofollow noreferrer" class="dtext-link dtext-external-link dtext-named-external-link" href="https://github.com/danbooru/danbooru/commit/63b3503bfc30b3d86f7f835c11496b2dea77ca60">this commit</a> also don't mention anything about it.</p> <p>For example <a rel="external nofollow noreferrer" class="dtext-link dtext-external-link" href="/posts/3788150.json?only=pixiv_ugoira_frame_data,pixiv_id">/posts/3788150.json?only=pixiv_ugoira_frame_data,pixiv_id</a> only lists the Pixiv ID, even though it's an ugoira.</p> </blockquote><p>Not all data is able to be included, which currently includes the ugoira frame data. If you need that, it's still shown in the HTML. You can access that data with the following commands in the dev console (F12).</p><pre>let content_type = $("#image").data("ugoira-content-type"); let frames = $("#image").data("ugoira-frames"); </pre> BrokenEagle98 /users/23799 tag:danbooru.me,2005:ForumPost/163354 2020-02-22T18:39:06-05:00 2020-02-22T18:53:08-05:00 @mikf: Commit 8649ff6d removed various metadata... <p>Commit <a rel="external nofollow noreferrer" class="dtext-link dtext-external-link dtext-named-external-link" href="https://github.com/danbooru/danbooru/commit/8649ff6dbe313c36cdb02f3aa096528ccca18225">8649ff6d</a> removed various metadata fields, including <em>pixiv_ugoira_frame_data</em>.</p><p>Apparently it is possible to use the <em>only</em> query parameter to restore certain fields if necessary, but there doesn't seem a way to do that for <em>pixiv_ugoira_frame_data</em>. I've tried various ways, which all failed, and the <em>available_includes</em> in <a rel="external nofollow noreferrer" class="dtext-link dtext-external-link dtext-named-external-link" href="https://github.com/danbooru/danbooru/commit/63b3503bfc30b3d86f7f835c11496b2dea77ca60">this commit</a> also don't mention anything about it.</p><p>For example <a rel="external nofollow noreferrer" class="dtext-link dtext-external-link" href="/posts/3788150.json?only=pixiv_ugoira_frame_data,pixiv_id">/posts/3788150.json?only=pixiv_ugoira_frame_data,pixiv_id</a> only lists the Pixiv ID, even though it's an ugoira.</p> mikf /users/712088