StashApiCSharp
[Atlassian] Bitbucket Server/Stash API wrapper built in C#
Install / Use
/learn @jlouros/StashApiCSharpREADME
Bitbucket Server (previously known as Stash) API wrapper for .Net
C# API wrapper for Atlassian Bitbucket Server (previously known as Stash) For more information about Bitbucket Server visit: https://www.atlassian.com/software/bitbucket/server API documentation can be found here: https://developer.atlassian.com/bitbucket/server/docs/latest/ Versions 2.0.0 and above of this project target Bitbucket Server version 4.1 and above. If you are using a older version of Bitbucket Server (below version 4.0), please download any 1.0.* version from NuGet
Installation
There are 2 ways to use this library:
- Install-Package Atlassian.Stash.Api (via Nuget)
- Download source code and compile
Sample Usage
// Create a Stash connection
// Stash client connection using basic authentication
var client = new StashClient("http://your_stash_server_url:7990/", "username", "password");
// Gets a list of projects (by default a maximum of 25 results will be return)
// we recommend use of async/await instead of forcing synchronous execution
var projects = client.Projects.Get().Result;
// Gets a list of repositories from project "PROJKEY" (by default a maximum of 25 results will be return)
// using async
var repositories = await client.Repositories.Get("PROJKEY");
// Delete repository "REPOSLUG" from project "PROJKEY"
await client.Repositories.Delete("PROJKEY", "REPOSLUG");
Take a look at the integration tests project for more samples.
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
