Logo The Small Issue Tracker - Documentation Smit v3.x

Smit API

Smit exposes some of its data through a REST API, and others through the trigger API.

Signing in

REST API:

POST /signin

Parameters:

Syntax: application/x-www-form-urlencoded

Response:

Listing Issues

REST API:

GET /<project>/issues

Returns a list of issues. Without any parameter, it returns all the issues.

Parameters

Examples:

GET /things_to_do/issues?search=john&sort=-mtime&filterin=status:open
GET /things_to_do/issues?search=john&sort=-mtime&filterin=status:open?format=csv

Showing an issue

REST API:

GET /<project>/issues/<id>

Parameters:

Examples:

GET /things_to_do/issues/543
GET /things_to_do/issues/89?format=text

Creating an issue

REST API:

POST /<project>/issues/new

Parameters:

Files can be attached.

Updating an issue

REST API:

POST /<project>/issues/<id>

Parameters:

Files can be attached.