Skip to content
This repository has been archived by the owner on Dec 22, 2019. It is now read-only.

mtt88/assembla-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 

Repository files navigation

assembla-api

Java wrapper around Assembla API

Introduction

This project provides a Java wrapper around the Assembla API. It aims to support all Assembla API endpoints, excluding 'Portfolio' endpoints.

Assembla API documentation can be found here.

Supports Java 8, does not support older versions of Java.

Support status

Type Supported
Activity Yes
Mentions Yes
Users Partial
Spaces Yes
User Roles (Space members) Yes
Space tools Yes
Tickets Yes
Ticket statuses Yes
Tags Yes
Tickets custom fields Yes
Ticket Associations Yes
Ticket Comments Yes
Milestones Yes
Documents Partial
StandUp Reports Yes
StandUp Away Reports Yes
Merge Requests Yes
Merge Request Versions Yes
Merge Request Version Comments Yes
Merge Request Version Votes Yes
Wiki Pages Yes
Wiki Page Versions Yes
Webhooks Yes
Tasks Yes
User SSH keys Yes
Space SSH Keys Yes
SSH Servers Yes
SSH Actions Yes
SSH Action Launches Yes

Obtaining Access Key

Assembla uses Oauth2 to authenticate API requests. To use this API an API Key and API Secret Key are required. Visit Assembla's authentication information page to learn how to generate these.

Usage

Getting started

The root entry point for Assembla's API is through the AssemblaAPI class

//Create a new AssemblaAPI 
AssemblaAPI api  = AssemblaAPI.create("your API key", "your API secret key");        

The AssemblaAPI class provides access to each of the Assembla end points documented at here.

Accessing ticket end points

Return a ticket by number associated with space "example_space".

//Getting a ticket by number
Ticket ticket100  = api.tickets("example_space").getByNumber(100);

Return a List of all active tickets associated with space "example_space"

//Getting all active tickets
List<Ticket> activeTickets = api.tickets("example_space").getActive();

About

Java wrapper around Assembla API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages