Skip to content

REST API client for mantisbt written in PHP

Notifications You must be signed in to change notification settings

Laser-Techniques-Company/MantisAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

MantisAPI

A Simple REST API for mantisbt written in PHP

Note: This is still a work-in-progress. It has not been tested and still does not have functions for all API calls. However, it is extremely simple to add new functions to the class.

Usage:

include './MantisAPI.php';
$api = new MantisAPI('http://localhost/mantisbt', 'YOUR_API_KEY_HERE');

Examples: See /examples/

API Documentation: View on Postman

List of functions currently supported:

getIssues($page_size = 10, $page = 1)
getIssue($id)
deleteIssue($id)
createIssue($data)
getIssueFiles($issue_id)
getIssueFile($issue_id, $file_id)
getProjectIssues($project_id)
getFilteredIssues($filter_id)
getMyAssignedIssues()
getMyReportedIssues()
getMyMonitoredIssues()
getUnassignedIssues()
updateIssue($id, $data)
addAttachmentsToIssue($issue_id, $data)
createIssueNote($issue_id, $data)
deleteIssueNote($issue_id, $note_id)
monitorIssue($issue_id)
addTagsToIssue($issue_id, $data)
removeTagsFromIssue($issue_id, $data)
addIssueRelationship($issue_id, $data)

About

REST API client for mantisbt written in PHP

Topics

Resources

Stars

Watchers

Forks

Languages