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

API does not return a new version #15

Open
aft2d opened this issue Jun 23, 2018 · 10 comments
Open

API does not return a new version #15

aft2d opened this issue Jun 23, 2018 · 10 comments

Comments

@aft2d
Copy link

aft2d commented Jun 23, 2018

Plugin: https://www.spigotmc.org/resources/dicefurniture-plugin-m%C3%B6bel-plugin.6006/history

The latest available version is v 3.2.1.4 released on Feb 5, 2018 with version ID 206844.

Unfortunately the API does not return that version.
The last version returned by the API is v 3.2.1.3 released on Jan 19, 2018 with version ID 204110

https://api.spiget.org/v2/resources/6006/versions?page=16
[ { "downloads": 1482, "rating": { "count": 3, "average": 4.33 }, "name": "3.2.0.9", "releaseDate": 1496415900, "resource": 6006, "id": 162918 }, { "downloads": 6230, "rating": { "count": 6, "average": 4.5 }, "name": "3.2.1.0", "releaseDate": 1497298740, "resource": 6006, "id": 165178 }, { "downloads": 7453, "rating": { "count": 6, "average": 4.33 }, "name": "3.2.1.1", "releaseDate": 1501596420, "resource": 6006, "id": 175631 }, { "downloads": 7904, "rating": { "count": 6, "average": 4 }, "name": "3.2.1.2", "releaseDate": 1507740660, "resource": 6006, "id": 188808 }, { "downloads": 1552, "rating": { "count": 3, "average": 4.67 }, "name": "3.2.1.3", "releaseDate": 1516370880, "resource": 6006, "id": 204110 } ]

@Dymeth
Copy link

Dymeth commented Sep 3, 2018

I have a similar problem.

Resource:
https://www.spigotmc.org/resources/14280/history

The link I am using:
https://api.spiget.org/v2/resources/14280/versions?size=1&sort=-releaseDate

Another link that also does not work:
https://api.spiget.org/v2/resources/14280/versions?size=1000&sort=-releaseDate

The latest version is 4.3.8, although in fact the latest version is 4.4.3 at the moment

UPD
Now the version of this plugin is correct - 4.4.4. Is this fixed?

@aft2d
Copy link
Author

aft2d commented Sep 9, 2019

@JulianVennen
Copy link

@InventivetalentDev
Copy link
Member

I added an endpoint at /resources/:id/requestUpdate to request a manual update if a resource has missing data.
Please only call that after a couple of days after the latest update if you're certain something is missing, though.

@aft2d
Copy link
Author

aft2d commented Nov 3, 2019

Is is possible that this change is not live yet?
image

I get that for every resource

@InventivetalentDev
Copy link
Member

InventivetalentDev commented Nov 3, 2019

Is is possible that this change is not live yet?

it's a POST request

@aft2d
Copy link
Author

aft2d commented Dec 12, 2019

May I ask how/why this even happens?
Is there no way to get to the root of the problem and solve it?

@InventivetalentDev
Copy link
Member

Honestly? No idea.
Give how rarely this happens on the scale of all the resources that are updated each day, I never really looked into the exact reason why it's happening.
Though my best guess is spigotmc's Cloudflare protection or other connection problems, since the only case when a resource doesn't update properly should be when it can't connect to the site and then skips it.

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

No branches or pull requests

4 participants