-
Notifications
You must be signed in to change notification settings - Fork 234
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
IGitApi.getBlobsZip Fails. Sends GET request instead of POST #615
Comments
Hi @cjh15hub, thanks for reporting! We are working on more prioritized issues at the moment, but will get back to this one soon. |
Okay, thank you. I'll try to have this thread stay active so this doesn't get lost again. |
Still experiencing this issue, and want to keep the thread alive. |
Happy to see that a Pull Request is associated with the reported issue. Thank you. |
Just checking back after some time. When should I expect to see this issue fixed? |
This issue has had no activity in 90 days. Please comment if it is not actually stale |
Environment
Node version: v18.20.4
Npm version: 10.7.0
OS and version: Windows 11
azure-devops-node-api version: 7.0.0
Issue Description
Duplicate of unresolved, stale issue 362
IGitAPI.getBlobsZip should send a POST request according to Rest API documentation (https://docs.microsoft.com/en-us/rest/api/azure/devops/git/blobs/get%20blobs%20zip) but sends GET request instead:
azure-devops-node-api/api/GitApi.ts
Expected behavior
IGitAPI.getBlobsZip should return a Promise<NodeJS.ReadableStream> transferring the requested zip.
Actual behavior
The returned data is: "{"count":1,"value":{"Message":"The requested resource does not support http method 'GET'."}}"
Steps to reproduce
const gitAPI = await connection.getGitApi();
gitAPI.getBlobsZip(blobdIds, repositoryId, projectId);
The text was updated successfully, but these errors were encountered: