Issues

POST /plugins/ApiX/issues #

Issue create

Creates an issue through MantisBT's issue-add workflow. The body must identify the destination project and can include the standard issue fields, custom_fields, base64-encoded files, due_date, and clone_info. The command checks project access, custom-field permissions, attachment data, clone options, and due-date permissions before creating the issue.

Request body

id integer Existing issue ID. Used by update requests when supplied in the body.
project string Destination or current project reference, normally an object containing a numeric `id`.
summary string Short issue title.
description string Main issue description.
handler string User assigned to handle the issue.
reporter string User reported as the issue author.
status string Workflow status for the issue.
resolution string Resolution applied during an update or status change.
due_date string Due date accepted by MantisBT date parsing; setting it requires the configured due-date permission.
target_version string Version targeted by the issue.
fixed_in_version string Version in which the issue was fixed.
custom_fields string[] Custom-field values; ApiX maps the client representation to the MantisBT REST representation.
files string[] Base64-encoded file attachments converted to temporary upload files before issue creation.
clone_info object Clone options forwarded to the issue-add workflow.
note string Optional note data recorded with an issue update.

Responses

  • 200 The operation completed successfully.
    []
  • 400 The request is invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 401 Authentication is required or invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 403 The authenticated user lacks permission.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 404 The requested resource was not found.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
cURL
curl -X POST \
  -H "Authorization: Bearer $MANTIS_TOKEN" \
  -H "Content-Type: application/json" \
  https://yourmantishubname.mantishub.io/api/rest/plugins/ApiX/issues \
  -d '{
    "id": 1,
    "project": "string",
    "summary": "string",
    "description": "string",
    "handler": "string",
    "reporter": "string",
    "status": "string",
    "resolution": "string",
    "due_date": "string",
    "target_version": "string",
    "fixed_in_version": "string",
    "custom_fields": [],
    "files": [],
    "clone_info": [],
    "note": "string"
}'
Request body · application/json
{
    "id": 1,
    "project": "string",
    "summary": "string",
    "description": "string",
    "handler": "string",
    "reporter": "string",
    "status": "string",
    "resolution": "string",
    "due_date": "string",
    "target_version": "string",
    "fixed_in_version": "string",
    "custom_fields": [],
    "files": [],
    "clone_info": [],
    "note": "string"
}
POST /plugins/ApiX/issues/{issue_id}/assign #

Issue assign

Assigns an issue to the user identified by the body handler field. An optional note is added as part of the assignment and due_date may be supplied when the caller has permission to change due dates. select controls the fields returned in the updated issue view.

Parameters

Name In Type Description
issue_id required path integer ApiX issue_id path parameter.

Request body

handler string User assigned to the issue.
note string Optional note recorded with the action.
due_date string Due date to apply when the caller has permission.

Responses

  • 200 The operation completed successfully.
    []
  • 400 The request is invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 401 Authentication is required or invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 403 The authenticated user lacks permission.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 404 The requested resource was not found.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
cURL
curl -X POST \
  -H "Authorization: Bearer $MANTIS_TOKEN" \
  -H "Content-Type: application/json" \
  https://yourmantishubname.mantishub.io/api/rest/plugins/ApiX/issues/1/assign \
  -d '{
    "handler": "string",
    "note": "string",
    "due_date": "string"
}'
Request body · application/json
{
    "handler": "string",
    "note": "string",
    "due_date": "string"
}
DELETE /plugins/ApiX/issues/{issue_id}/files/{file_id} #

Delete attachment

This operation is implemented by the ApiX delete_attachment command.

Parameters

Name In Type Description
issue_id required path integer ApiX issue_id path parameter.
file_id required path integer ApiX file_id path parameter.

Responses

  • 200 The operation completed successfully.
    []
  • 400 The request is invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 401 Authentication is required or invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 403 The authenticated user lacks permission.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 404 The requested resource was not found.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
cURL
curl -X DELETE \
  -H "Authorization: Bearer $MANTIS_TOKEN" \
  https://yourmantishubname.mantishub.io/api/rest/plugins/ApiX/issues/1/files/1
POST /plugins/ApiX/issues/{issue_id}/monitor #

Issue monitor add

This operation is implemented by the ApiX issue_monitor_add command.

Parameters

Name In Type Description
issue_id required path integer ApiX issue_id path parameter.

Responses

  • 200 The operation completed successfully.
    []
  • 400 The request is invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 401 Authentication is required or invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 403 The authenticated user lacks permission.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 404 The requested resource was not found.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
cURL
curl -X POST \
  -H "Authorization: Bearer $MANTIS_TOKEN" \
  https://yourmantishubname.mantishub.io/api/rest/plugins/ApiX/issues/1/monitor
POST /plugins/ApiX/issues/{issue_id}/move #

Issue move

Moves an issue to the destination project in the body project reference. An optional note records the move with the issue. The destination project must exist and be writable by the caller.

Parameters

Name In Type Description
issue_id required path integer ApiX issue_id path parameter.

Request body

id integer Existing issue ID. Used by update requests when supplied in the body.
project string Destination or current project reference, normally an object containing a numeric `id`.
summary string Short issue title.
description string Main issue description.
handler string User assigned to handle the issue.
reporter string User reported as the issue author.
status string Workflow status for the issue.
resolution string Resolution applied during an update or status change.
due_date string Due date accepted by MantisBT date parsing; setting it requires the configured due-date permission.
target_version string Version targeted by the issue.
fixed_in_version string Version in which the issue was fixed.
custom_fields string[] Custom-field values; ApiX maps the client representation to the MantisBT REST representation.
files string[] Base64-encoded file attachments converted to temporary upload files before issue creation.
clone_info object Clone options forwarded to the issue-add workflow.
note string Optional note data recorded with an issue update.

Responses

  • 200 The operation completed successfully.
    []
  • 400 The request is invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 401 Authentication is required or invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 403 The authenticated user lacks permission.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 404 The requested resource was not found.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
cURL
curl -X POST \
  -H "Authorization: Bearer $MANTIS_TOKEN" \
  -H "Content-Type: application/json" \
  https://yourmantishubname.mantishub.io/api/rest/plugins/ApiX/issues/1/move \
  -d '{
    "id": 1,
    "project": "string",
    "summary": "string",
    "description": "string",
    "handler": "string",
    "reporter": "string",
    "status": "string",
    "resolution": "string",
    "due_date": "string",
    "target_version": "string",
    "fixed_in_version": "string",
    "custom_fields": [],
    "files": [],
    "clone_info": [],
    "note": "string"
}'
Request body · application/json
{
    "id": 1,
    "project": "string",
    "summary": "string",
    "description": "string",
    "handler": "string",
    "reporter": "string",
    "status": "string",
    "resolution": "string",
    "due_date": "string",
    "target_version": "string",
    "fixed_in_version": "string",
    "custom_fields": [],
    "files": [],
    "clone_info": [],
    "note": "string"
}
POST /plugins/ApiX/issues/{issue_id}/notes #

Issue note add

Adds a note to an issue. text is the note content; optional type, reporter, view_state, time_tracking, and base64-encoded files control note metadata and attachments. Mentions in the text are processed for notifications.

Parameters

Name In Type Description
issue_id required path integer ApiX issue_id path parameter.

Request body

text string Note content. Mentions in the text are processed for notifications.
type string Note type; defaults to `note`.
reporter string User to record as the note reporter, subject to permission checks.
view_state string Note visibility state.
private boolean Whether an updated note is private.
time_tracking string Time-tracking value associated with the note.
files string[] Base64-encoded attachments associated with the note.

Responses

  • 200 The operation completed successfully.
    []
  • 400 The request is invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 401 Authentication is required or invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 403 The authenticated user lacks permission.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 404 The requested resource was not found.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
cURL
curl -X POST \
  -H "Authorization: Bearer $MANTIS_TOKEN" \
  -H "Content-Type: application/json" \
  https://yourmantishubname.mantishub.io/api/rest/plugins/ApiX/issues/1/notes \
  -d '{
    "text": "string",
    "type": "string",
    "reporter": "string",
    "view_state": "string",
    "private": true,
    "time_tracking": "string",
    "files": []
}'
Request body · application/json
{
    "text": "string",
    "type": "string",
    "reporter": "string",
    "view_state": "string",
    "private": true,
    "time_tracking": "string",
    "files": []
}
PATCH /plugins/ApiX/issues/{issue_id}/notes/{note_id} #

Issue note update

Updates an existing issue note. The body may replace text, change private, and update time_tracking; the caller must be allowed to edit the selected note.

Parameters

Name In Type Description
issue_id required path integer ApiX issue_id path parameter.
note_id required path integer ApiX note_id path parameter.

Request body

text string Note content. Mentions in the text are processed for notifications.
type string Note type; defaults to `note`.
reporter string User to record as the note reporter, subject to permission checks.
view_state string Note visibility state.
private boolean Whether an updated note is private.
time_tracking string Time-tracking value associated with the note.
files string[] Base64-encoded attachments associated with the note.

Responses

  • 200 The operation completed successfully.
    []
  • 400 The request is invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 401 Authentication is required or invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 403 The authenticated user lacks permission.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 404 The requested resource was not found.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
cURL
curl -X PATCH \
  -H "Authorization: Bearer $MANTIS_TOKEN" \
  -H "Content-Type: application/json" \
  https://yourmantishubname.mantishub.io/api/rest/plugins/ApiX/issues/1/notes/1 \
  -d '{
    "text": "string",
    "type": "string",
    "reporter": "string",
    "view_state": "string",
    "private": true,
    "time_tracking": "string",
    "files": []
}'
Request body · application/json
{
    "text": "string",
    "type": "string",
    "reporter": "string",
    "view_state": "string",
    "private": true,
    "time_tracking": "string",
    "files": []
}
DELETE /plugins/ApiX/issues/{issue_id}/notes/{note_id} #

Issue note delete

Deletes the specified note from the issue after applying MantisBT note visibility and permission checks.

Parameters

Name In Type Description
issue_id required path integer ApiX issue_id path parameter.
note_id required path integer ApiX note_id path parameter.

Responses

  • 200 The operation completed successfully.
    []
  • 400 The request is invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 401 Authentication is required or invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 403 The authenticated user lacks permission.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 404 The requested resource was not found.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
cURL
curl -X DELETE \
  -H "Authorization: Bearer $MANTIS_TOKEN" \
  https://yourmantishubname.mantishub.io/api/rest/plugins/ApiX/issues/1/notes/1
GET /plugins/ApiX/issues/{issue_id}/pages/assign #

Issue assign page

This operation is implemented by the ApiX issue_assign_page command.

Parameters

Name In Type Description
issue_id required path integer ApiX issue_id path parameter.

Responses

  • 200 The operation completed successfully.
    []
  • 400 The request is invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 401 Authentication is required or invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 403 The authenticated user lacks permission.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 404 The requested resource was not found.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
cURL
curl -X GET \
  -H "Authorization: Bearer $MANTIS_TOKEN" \
  https://yourmantishubname.mantishub.io/api/rest/plugins/ApiX/issues/1/pages/assign
GET /plugins/ApiX/issues/{issue_id}/pages/move #

Issue move page

This operation is implemented by the ApiX issue_move_page command.

Parameters

Name In Type Description
issue_id required path integer ApiX issue_id path parameter.

Responses

  • 200 The operation completed successfully.
    []
  • 400 The request is invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 401 Authentication is required or invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 403 The authenticated user lacks permission.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 404 The requested resource was not found.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
cURL
curl -X GET \
  -H "Authorization: Bearer $MANTIS_TOKEN" \
  https://yourmantishubname.mantishub.io/api/rest/plugins/ApiX/issues/1/pages/move
GET /plugins/ApiX/issues/{issue_id}/pages/status/{status_id} #

Issue status page

This operation is implemented by the ApiX issue_status_page command.

Parameters

Name In Type Description
issue_id required path integer ApiX issue_id path parameter.
status_id required path integer ApiX status_id path parameter.

Responses

  • 200 The operation completed successfully.
    []
  • 400 The request is invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 401 Authentication is required or invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 403 The authenticated user lacks permission.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 404 The requested resource was not found.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
cURL
curl -X GET \
  -H "Authorization: Bearer $MANTIS_TOKEN" \
  https://yourmantishubname.mantishub.io/api/rest/plugins/ApiX/issues/1/pages/status/1
GET /plugins/ApiX/issues/{issue_id}/pages/update #

Issue update page

This operation is implemented by the ApiX issue_update_page command.

Parameters

Name In Type Description
issue_id required path integer ApiX issue_id path parameter.

Responses

  • 200 The operation completed successfully.
    []
  • 400 The request is invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 401 Authentication is required or invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 403 The authenticated user lacks permission.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 404 The requested resource was not found.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
cURL
curl -X GET \
  -H "Authorization: Bearer $MANTIS_TOKEN" \
  https://yourmantishubname.mantishub.io/api/rest/plugins/ApiX/issues/1/pages/update
GET /plugins/ApiX/issues/{issue_id}/pages/view #

Issue view page

This operation is implemented by the ApiX issue_view_page command. A read-only wiki relationship group (type.id: 1001) carries a page object whose issue_id is the issue an existing page belongs to (0 when none), or the issue to send as issue_id when creating a page that does not exist yet. A bare issue id is reserved for that issue's page, so such a reference is returned only when the issue is in the same project and readable.

Parameters

Name In Type Description
issue_id required path integer ApiX issue_id path parameter.

Responses

  • 200 The operation completed successfully.
    []
  • 400 The request is invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 401 Authentication is required or invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 403 The authenticated user lacks permission.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 404 The requested resource was not found.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
cURL
curl -X GET \
  -H "Authorization: Bearer $MANTIS_TOKEN" \
  https://yourmantishubname.mantishub.io/api/rest/plugins/ApiX/issues/1/pages/view
POST /plugins/ApiX/issues/{issue_id}/relationships #

Issue relationship add

Creates a relationship between the path issue and another issue using the relationship payload accepted by MantisBT. The caller must be able to view both issues and add relationships to the source issue.

Parameters

Name In Type Description
issue_id required path integer ApiX issue_id path parameter.

Responses

  • 200 The operation completed successfully.
    []
  • 400 The request is invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 401 Authentication is required or invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 403 The authenticated user lacks permission.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 404 The requested resource was not found.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
cURL
curl -X POST \
  -H "Authorization: Bearer $MANTIS_TOKEN" \
  -H "Content-Type: application/json" \
  https://yourmantishubname.mantishub.io/api/rest/plugins/ApiX/issues/1/relationships \
  -d '[]'
Request body · application/json
[]
DELETE /plugins/ApiX/issues/{issue_id}/relationships/{relationship_id} #

Issue relationship delete

This operation is implemented by the ApiX issue_relationship_delete command.

Parameters

Name In Type Description
issue_id required path integer ApiX issue_id path parameter.
relationship_id required path integer ApiX relationship_id path parameter.

Responses

  • 200 The operation completed successfully.
    []
  • 400 The request is invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 401 Authentication is required or invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 403 The authenticated user lacks permission.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 404 The requested resource was not found.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
cURL
curl -X DELETE \
  -H "Authorization: Bearer $MANTIS_TOKEN" \
  https://yourmantishubname.mantishub.io/api/rest/plugins/ApiX/issues/1/relationships/1
POST /plugins/ApiX/issues/{issue_id}/status #

Issue change status

Changes an issue's status and applies the related workflow fields. The body can contain status, resolution, fixed_in_version, target_version, duplicate_id, handler, custom_fields, due_date, and an optional note; each field is checked against the configured workflow and permissions.

Parameters

Name In Type Description
issue_id required path integer ApiX issue_id path parameter.

Request body

id integer Existing issue ID. Used by update requests when supplied in the body.
project string Destination or current project reference, normally an object containing a numeric `id`.
summary string Short issue title.
description string Main issue description.
handler string User assigned to handle the issue.
reporter string User reported as the issue author.
status string Workflow status for the issue.
resolution string Resolution applied during an update or status change.
due_date string Due date accepted by MantisBT date parsing; setting it requires the configured due-date permission.
target_version string Version targeted by the issue.
fixed_in_version string Version in which the issue was fixed.
custom_fields string[] Custom-field values; ApiX maps the client representation to the MantisBT REST representation.
files string[] Base64-encoded file attachments converted to temporary upload files before issue creation.
clone_info object Clone options forwarded to the issue-add workflow.
note string Optional note data recorded with an issue update.

Responses

  • 200 The operation completed successfully.
    []
  • 400 The request is invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 401 Authentication is required or invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 403 The authenticated user lacks permission.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 404 The requested resource was not found.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
cURL
curl -X POST \
  -H "Authorization: Bearer $MANTIS_TOKEN" \
  -H "Content-Type: application/json" \
  https://yourmantishubname.mantishub.io/api/rest/plugins/ApiX/issues/1/status \
  -d '{
    "id": 1,
    "project": "string",
    "summary": "string",
    "description": "string",
    "handler": "string",
    "reporter": "string",
    "status": "string",
    "resolution": "string",
    "due_date": "string",
    "target_version": "string",
    "fixed_in_version": "string",
    "custom_fields": [],
    "files": [],
    "clone_info": [],
    "note": "string"
}'
Request body · application/json
{
    "id": 1,
    "project": "string",
    "summary": "string",
    "description": "string",
    "handler": "string",
    "reporter": "string",
    "status": "string",
    "resolution": "string",
    "due_date": "string",
    "target_version": "string",
    "fixed_in_version": "string",
    "custom_fields": [],
    "files": [],
    "clone_info": [],
    "note": "string"
}
GET /plugins/ApiX/issues/{issue_id}/tags/autocomplete #

Issue tag list

This operation is implemented by the ApiX issue_tag_list command.

Parameters

Name In Type Description
issue_id required path integer ApiX issue_id path parameter.

Responses

  • 200 The operation completed successfully.
    []
  • 400 The request is invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 401 Authentication is required or invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 403 The authenticated user lacks permission.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 404 The requested resource was not found.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
cURL
curl -X GET \
  -H "Authorization: Bearer $MANTIS_TOKEN" \
  https://yourmantishubname.mantishub.io/api/rest/plugins/ApiX/issues/1/tags/autocomplete
POST /plugins/ApiX/issues/{issue_id}/unmonitor #

Issue monitor remove

This operation is implemented by the ApiX issue_monitor_remove command.

Parameters

Name In Type Description
issue_id required path integer ApiX issue_id path parameter.

Request body

users string[] Users to add or remove as monitors; omitted for unmonitor defaults to the authenticated user.

Responses

  • 200 The operation completed successfully.
    []
  • 400 The request is invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 401 Authentication is required or invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 403 The authenticated user lacks permission.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 404 The requested resource was not found.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
cURL
curl -X POST \
  -H "Authorization: Bearer $MANTIS_TOKEN" \
  -H "Content-Type: application/json" \
  https://yourmantishubname.mantishub.io/api/rest/plugins/ApiX/issues/1/unmonitor \
  -d '{
    "users": []
}'
Request body · application/json
{
    "users": []
}
PATCH /plugins/ApiX/issues/{issue_id}/update #

Issue update

Updates an existing issue through MantisBT's issue-update workflow. The path identifies the issue; the body may also contain the issue id, a replacement project, standard issue fields, custom fields, and an optional note.

Parameters

Name In Type Description
issue_id required path integer ApiX issue_id path parameter.

Request body

id integer Existing issue ID. Used by update requests when supplied in the body.
project string Destination or current project reference, normally an object containing a numeric `id`.
summary string Short issue title.
description string Main issue description.
handler string User assigned to handle the issue.
reporter string User reported as the issue author.
status string Workflow status for the issue.
resolution string Resolution applied during an update or status change.
due_date string Due date accepted by MantisBT date parsing; setting it requires the configured due-date permission.
target_version string Version targeted by the issue.
fixed_in_version string Version in which the issue was fixed.
custom_fields string[] Custom-field values; ApiX maps the client representation to the MantisBT REST representation.
files string[] Base64-encoded file attachments converted to temporary upload files before issue creation.
clone_info object Clone options forwarded to the issue-add workflow.
note string Optional note data recorded with an issue update.

Responses

  • 200 The operation completed successfully.
    []
  • 400 The request is invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 401 Authentication is required or invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 403 The authenticated user lacks permission.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 404 The requested resource was not found.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
cURL
curl -X PATCH \
  -H "Authorization: Bearer $MANTIS_TOKEN" \
  -H "Content-Type: application/json" \
  https://yourmantishubname.mantishub.io/api/rest/plugins/ApiX/issues/1/update \
  -d '{
    "id": 1,
    "project": "string",
    "summary": "string",
    "description": "string",
    "handler": "string",
    "reporter": "string",
    "status": "string",
    "resolution": "string",
    "due_date": "string",
    "target_version": "string",
    "fixed_in_version": "string",
    "custom_fields": [],
    "files": [],
    "clone_info": [],
    "note": "string"
}'
Request body · application/json
{
    "id": 1,
    "project": "string",
    "summary": "string",
    "description": "string",
    "handler": "string",
    "reporter": "string",
    "status": "string",
    "resolution": "string",
    "due_date": "string",
    "target_version": "string",
    "fixed_in_version": "string",
    "custom_fields": [],
    "files": [],
    "clone_info": [],
    "note": "string"
}
GET /plugins/ApiX/revisions/{revision_id}/diff #

Bug revision diff

This operation is implemented by the ApiX bug_revision_diff command.

Parameters

Name In Type Description
revision_id required path integer ApiX revision_id path parameter.

Responses

  • 200 The operation completed successfully.
    []
  • 400 The request is invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 401 Authentication is required or invalid.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 403 The authenticated user lacks permission.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
  • 404 The requested resource was not found.
    message string required
    code integer
    localized string
    {
        "message": "string",
        "code": 1,
        "localized": "string"
    }
cURL
curl -X GET \
  -H "Authorization: Bearer $MANTIS_TOKEN" \
  https://yourmantishubname.mantishub.io/api/rest/plugins/ApiX/revisions/1/diff