Manage

GET /plugins/ApiX/custom_fields #

Custom field list

Lists custom-field definitions visible to the authenticated user. sort_by and sort_order select the list ordering; field visibility and project linkage are resolved by ApiX.

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/custom_fields
POST /plugins/ApiX/custom_fields/create #

Custom field create

Creates a custom-field definition. The custom_field body object contains the field definition; ApiX validates its name and type, then optionally links it to the projects listed by the payload.

Request body

custom_field object required Custom-field definition. ApiX sanitizes and validates the definition before persistence.
name string Field name; ApiX enforces the MantisBT name length limit.
type string MantisBT custom-field type.
possible_values string Allowed values for enumerated field types.
default_value string Default value for the field.
display_report boolean Show the field on issue creation.
display_update boolean Show the field on issue updates.
projects string[] Project IDs to link to the custom field; omitted on create means no additional links.

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/custom_fields/create \
  -d '{
    "custom_field": {
        "name": "string",
        "type": "string",
        "possible_values": "string",
        "default_value": "string",
        "display_report": true,
        "display_update": true
    },
    "projects": []
}'
Request body · application/json
{
    "custom_field": {
        "name": "string",
        "type": "string",
        "possible_values": "string",
        "default_value": "string",
        "display_report": true,
        "display_update": true
    },
    "projects": []
}
GET /plugins/ApiX/custom_fields/pages/create #

Custom field create page

This operation is implemented by the ApiX custom_field_create_page command.

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/custom_fields/pages/create
PATCH /plugins/ApiX/custom_fields/{field_id} #

Custom field update

This operation is implemented by the ApiX custom_field_update command.

Parameters

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

Request body

custom_field object required Custom-field definition. ApiX sanitizes and validates the definition before persistence.
name string Field name; ApiX enforces the MantisBT name length limit.
type string MantisBT custom-field type.
possible_values string Allowed values for enumerated field types.
default_value string Default value for the field.
display_report boolean Show the field on issue creation.
display_update boolean Show the field on issue updates.
projects string[] Project IDs to link to the custom field; omitted on create means no additional links.

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/custom_fields/1 \
  -d '{
    "custom_field": {
        "name": "string",
        "type": "string",
        "possible_values": "string",
        "default_value": "string",
        "display_report": true,
        "display_update": true
    },
    "projects": []
}'
Request body · application/json
{
    "custom_field": {
        "name": "string",
        "type": "string",
        "possible_values": "string",
        "default_value": "string",
        "display_report": true,
        "display_update": true
    },
    "projects": []
}
DELETE /plugins/ApiX/custom_fields/{field_id} #

Custom field delete

This operation is implemented by the ApiX custom_field_delete command.

Parameters

Name In Type Description
field_id required path integer ApiX field_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/custom_fields/1
GET /plugins/ApiX/custom_fields/{field_id}/pages/update #

Custom field update page

This operation is implemented by the ApiX custom_field_update_page command.

Parameters

Name In Type Description
field_id required path integer ApiX field_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/custom_fields/1/pages/update
DELETE /plugins/ApiX/helpdesk/recipient/{recipient_id} #

Helpdesk delete recipient

This operation is implemented by the ApiX helpdesk_delete_recipient command.

Parameters

Name In Type Description
recipient_id required path integer ApiX recipient_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/helpdesk/recipient/1
POST /plugins/ApiX/manage-columns #

Manage columns

Reads or updates the authenticated user's issue-list columns for a project. The body identifies the project and may provide a type (default view) and an ordered columns list.

Request body

project string Project reference, normally an object containing `id`.
type string Column configuration type; defaults to `view`.
columns string[] Ordered column identifiers to save.

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/manage-columns \
  -d '{
    "project": "string",
    "type": "string",
    "columns": []
}'
Request body · application/json
{
    "project": "string",
    "type": "string",
    "columns": []
}
PATCH /plugins/ApiX/plugin/{plugin_name} #

Plugin update

This operation is implemented by the ApiX plugin_update command.

Parameters

Name In Type Description
plugin_name required path string ApiX plugin_name path parameter.

Request body

protected boolean Whether the installed plugin is protected.
priority integer Plugin load priority; ApiX validates the configured priority range.

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/plugin/value \
  -d '{
    "protected": true,
    "priority": 1
}'
Request body · application/json
{
    "protected": true,
    "priority": 1
}
POST /plugins/ApiX/plugin/{plugin_name}/install #

Plugin install

This operation is implemented by the ApiX plugin_install command.

Parameters

Name In Type Description
plugin_name required path string ApiX plugin_name 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/plugin/value/install
POST /plugins/ApiX/plugin/{plugin_name}/uninstall #

Plugin uninstall

This operation is implemented by the ApiX plugin_uninstall command.

Parameters

Name In Type Description
plugin_name required path string ApiX plugin_name 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/plugin/value/uninstall
GET /plugins/ApiX/plugins #

Plugins list

Lists installed plugins and their management metadata as reported by the current MantisBT plugin registry.

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/plugins
PATCH /plugins/ApiX/settings #

Settings update

Updates ApiX/MantisHub configuration values using the settings payload. Configuration names and values are validated by the management command, and write access is required.

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/settings \
  -d '[]'
Request body · application/json
[]