We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Node version: v18.20.4 Npm version: 10.7.0 OS and version: Windows 11 azure-devops-node-api version: 7.0.0
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
IGitAPI.getBlobsZip should return a Promise<NodeJS.ReadableStream> transferring the requested zip.
The returned data is: "{"count":1,"value":{"Message":"The requested resource does not support http method 'GET'."}}"
const gitAPI = await connection.getGitApi();
gitAPI.getBlobsZip(blobdIds, repositoryId, projectId);
The text was updated successfully, but these errors were encountered:
Hi @cjh15hub, thanks for reporting! We are working on more prioritized issues at the moment, but will get back to this one soon.
Sorry, something went wrong.
Okay, thank you. I'll try to have this thread stay active so this doesn't get lost again.
No branches or pull requests
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: