{"id":19036035,"url":"https://github.com/jlouros/stashapicsharp","last_synced_at":"2025-04-23T19:04:22.503Z","repository":{"id":22055198,"uuid":"25384029","full_name":"jlouros/StashApiCSharp","owner":"jlouros","description":"[Atlassian] Bitbucket Server/Stash API wrapper built in C#","archived":false,"fork":false,"pushed_at":"2022-12-08T11:52:55.000Z","size":1992,"stargazers_count":35,"open_issues_count":12,"forks_count":45,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-23T19:04:06.347Z","etag":null,"topics":["api-wrapper","bitbucket-server","c-sharp","dotnet"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jlouros.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-18T01:52:01.000Z","updated_at":"2023-12-29T00:36:03.000Z","dependencies_parsed_at":"2023-01-11T21:27:50.180Z","dependency_job_id":null,"html_url":"https://github.com/jlouros/StashApiCSharp","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlouros%2FStashApiCSharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlouros%2FStashApiCSharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlouros%2FStashApiCSharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlouros%2FStashApiCSharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jlouros","download_url":"https://codeload.github.com/jlouros/StashApiCSharp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250496988,"owners_count":21440231,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-wrapper","bitbucket-server","c-sharp","dotnet"],"created_at":"2024-11-08T21:52:58.639Z","updated_at":"2025-04-23T19:04:22.450Z","avatar_url":"https://github.com/jlouros.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Build](https://github.com/jlouros/StashApiCSharp/workflows/Build/badge.svg) ![Infer#](https://github.com/jlouros/StashApiCSharp/workflows/Infer%23/badge.svg) ![CodeQL](https://github.com/jlouros/StashApiCSharp/workflows/CodeQL/badge.svg) [![NuGet](https://img.shields.io/nuget/v/Atlassian.Stash.Api.svg)](https://www.nuget.org/packages/Atlassian.Stash.Api/)\n\n# Bitbucket Server (previously known as Stash) API wrapper for .Net\n\nC# API wrapper for Atlassian Bitbucket Server (previously known as Stash)\nFor more information about Bitbucket Server visit: https://www.atlassian.com/software/bitbucket/server\nAPI documentation can be found here: https://developer.atlassian.com/bitbucket/server/docs/latest/\nVersions 2.0.0 and above of this project target Bitbucket Server version 4.1 and above.\nIf you are using a older version of Bitbucket Server (below version 4.0), please download any 1.0.* version from NuGet\n\n## Installation\n\nThere are 2 ways to use this library:\n\n* Install-Package Atlassian.Stash.Api (via Nuget)\n* Download source code and compile\n\n## Sample Usage\n```csharp\n// Create a Stash connection\n// Stash client connection using basic authentication\nvar client = new StashClient(\"http://your_stash_server_url:7990/\", \"username\", \"password\");\n\n// Gets a list of projects (by default a maximum of 25 results will be return)\n// we recommend use of async/await instead of forcing synchronous execution\nvar projects = client.Projects.Get().Result;\n\n// Gets a list of repositories from project \"PROJKEY\" (by default a maximum of 25 results will be return)\n// using async\nvar repositories = await client.Repositories.Get(\"PROJKEY\");\n\n// Delete repository \"REPOSLUG\" from project \"PROJKEY\"\nawait client.Repositories.Delete(\"PROJKEY\", \"REPOSLUG\");\n```\n\n*Take a look at the integration tests project for more samples.*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlouros%2Fstashapicsharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjlouros%2Fstashapicsharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlouros%2Fstashapicsharp/lists"}