You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.
Hello, I've been using your blob functionality successfully, although my usage was only storing blobs. I now need to use Copy Blob From URL
How can I help you implement this API into the SDK?
I guess the first step is to create a new request in "AzureSDKForRust/azure_sdk_storage_blob/src/blob/requests". Is it fine for you if I start looking into it?
Yes of course, any help is appreciated! I might be able to take a break from the Cosmos create now (I've been focusing on than lately) and tackle this but I cannot guarantee on the timeline!
As for your question, in order to extend the crate you need:
Create the corresponding request (in your case in blob/request). You can use the bpb tool if you want to start from the json and save yourself a lot of boilerplate code.
Create the corresponding response (in your case in blob/responses). Check other responses for a template.
Have the finalize function return a Result<your_response_from_point_2, AzureError>. Make sure to pass the mandatory and optional headers and construct the URI properly (that's the hard part).
Add the signature to the correct trait (in your case Blob trait in lib.rs).
Implement the trait function in the Client just returning the generator created at point 1.
After that you should be able to use your function in your code!
This will be done after #61:
The text was updated successfully, but these errors were encountered: