Has REST API changed (Cannot GET backup logs)?
-
Hi there,
I just updated my Xen Orchestra container and found that I can no longer retrieve backup info from the REST API. The path appears to be the same but it returns
Cannot GET /rest/v0/backup/logs/1685818800068. Previously I was able to see the job info.Has something changed or is this just a me problem? I've rolled back my update for now. Afraid I don't know what version of XO I'm on as the About page no longer seems to provide that info. The image is about 6 weeks old.
-
@DustyArmstrong Fixed: https://github.com/vatesfr/xen-orchestra/commit/b0c37df8d73beb9589dc28e32d5a4409a48a9272
Let me know if you have any issues.
-
Hi!
Have you read https://xen-orchestra.com/blog/xen-orchestra-5-90/#
-rest-api ?Also I think @julien-f made it transparent

-
@DustyArmstrong There is indeed a bug, I'll push a fix soon.
-
@olivierlambert Yes but didn't see any changes for
backup/logswhich is where the issue seemed to arise from. I pull the status from each log entry not the job info itself.@julien-f awesome, thanks!
-
@DustyArmstrong Fixed: https://github.com/vatesfr/xen-orchestra/commit/b0c37df8d73beb9589dc28e32d5a4409a48a9272
Let me know if you have any issues.
-
@julien-f Thank you and thank you for the quick resolution, you guys rock.
-
@DustyArmstrong Thanks for your report

-
O olivierlambert marked this topic as a question on
-
O olivierlambert has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login