Skip to content
Advertisement

Tag: azure-devops-rest-api

while uploading a file into azure devops using Push API, The object ‘”‘ does not exist.’ get displayed “typeName”:”Microsoft.TeamFoundation.Git

I am trying to add a file into respos folder using below API’s: The response for the above url includes: And treating this Object ID: YYYYYYYYYYYYYYYYYYYYYY as old ObjectID and trying to push a file into path: refs/heads/XXX using below API: But the response were : And sure missing a final step & basic as well. Any suggestions pls Answer

Though Create-attachment & Upload attachment API’s are successful, still uploaded file is not visible in azure devops repos branch

After lots lots of struggle, finally framed below code to interact with Azure Devops via REST API but dont see file in Azure Devops- Repos’s Branches. First created a attachment using below API: https://learn.microsoft.com/en-us/rest/api/azure/devops/wit/attachments/create?view=azure-devops-rest-6.0 Later uploaded the attachment using below API: https://learn.microsoft.com/en-us/rest/api/azure/devops/wit/attachments/upload%20chunk?view=azure-devops-rest-6.0 Both the API’s are suucessful but still couldn’t see the file in azure devops-Repos Branches. What am i

Advertisement