Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Derpibooru API Changes #30

Closed
LunarNightShade opened this issue Dec 22, 2019 · 4 comments · Fixed by #31
Closed

Derpibooru API Changes #30

LunarNightShade opened this issue Dec 22, 2019 · 4 comments · Fixed by #31

Comments

@LunarNightShade
Copy link

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
Copy link

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

@liamwhite
Copy link

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
Copy link

Checking if this is fixed or not.

@Sibusten
Copy link
Owner

Everything should be using the new API now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants