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

[Enhancement] py42 get status of jobId #397

Open
pboushy opened this issue Jan 21, 2022 · 0 comments
Open

[Enhancement] py42 get status of jobId #397

pboushy opened this issue Jan 21, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@pboushy
Copy link

pboushy commented Jan 21, 2022

Summary

I can't find any way to get the current status of a job kicked off by archive.stream_to_device, it'd be really nice to have a method like archive.job_status(jobId)

Proposed API

sdk.archive.job_status(jobId)
you pass it a jobId from a previous archive.stream_to_device() call, and it returns a response with the same json blob or better as the stream_to_device result does.

Intended Use Case

Allow scheduled jobs to check the status of an initiated restore.

@pboushy pboushy added the enhancement New feature or request label Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant