REST APIs

The Stash REST API is split up into multiple modules, each provided by a separate bundled plugin.

General information about using the REST APIs can be found at Using the REST API and Authenticating with the REST API.

Stash Core

The Stash Core REST API provides REST resources for core Stash functionality such as server administration, projects, repositories, pull requests and user management.

Audit

The Audit REST API provides REST resources for querying the subset of audit events which are stored against a project or repository. Full audit logs are only available via the audit log file.

Branch Permissions

The Branch Permissions REST API provides REST resources for managing repository branch permissions in Stash repositories.

Branch Utils

The Branch Utils REST API provides REST resources for managing repository branches in Stash repositories.

Build Integration

The Build Integration REST API provides REST resources for updating and querying build information for Stash commits.

See this how-to guide for more details.

Comment Likes

The Comment Likes REST API provides REST resources for adding, removing and querying comment likes.

Git

The Git REST API provides remote APIs supporting selected git-specific operations in Stash, already available through Java API. Currently supporting management of repository tags.

JIRA Integration

The JIRA Integration REST API provides REST resources for querying JIRA information indexed against Stash commits.

Repository Ref Synchronization

The Repository Ref Synchronization REST API provides REST resources for managing ref synchronization for a repository.

SSH

The SSH REST API provides REST resources for managing user SSH keys.