Sibusten / derpibooru-downloader

A downloader for imageboards running Philomena, such as Derpibooru.
MIT License
62 stars 6 forks source link

Derpibooru API Changes #30

Closed LunarNightShade closed 4 years ago

LunarNightShade commented 4 years ago

Derpibooru has migrated away from Rails and released their new server back-end, Philomena, that includes breaking API changes.

https://derpibooru.org/forums/meta/topics/philomena-open-beta-breaking-api-changes

API changes

In the interest of preserving API compatibility, we will attempt to rewrite requests to our exisitng Rails JSON API for as long as is reasonably feasible after the migration (~ several months). We hope most applications will be able to migrate over to the new API format before we remove the Rails app completely.

As before, you can use the filter_id parameter to override your current filter, and the key parameter to authenticate yourself to the API. Here are the new API routes:

[example] GET /api/v1/json/images/:image_id [example] GET /api/v1/json/search [example] GET /api/v1/json/oembed

There is also a POST route which takes a query parameter named URL. However, it depends on the scraper; do not expect it to work reliably until the scraper is fixed.

POST /api/v1/json/search/reverse

Twi-Hard commented 4 years ago

This was updated 2 hours ago https://derpibooru.org/pages/api

liamwhite commented 4 years ago

Further updated

Note that if all you use is search, the changes are extremely minor, and should easily be adaptable to the new API.

DonaldTsang commented 4 years ago

Checking if this is fixed or not.

Sibusten commented 4 years ago

Everything should be using the new API now