Tags

GET /plugins/ApiX/tags #

Tag get all

This operation is implemented by the ApiX tag_get_all 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/tags
POST /plugins/ApiX/tags #

Tag create

Creates a tag. name is required; description is optional and is trimmed before the tag is stored.

Request body

name string required Tag name.
description string Optional tag description.
user_id integer User reference accepted by tag 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/tags \
  -d '{
    "name": "string",
    "description": "string",
    "user_id": 1
}'
Request body · application/json
{
    "name": "string",
    "description": "string",
    "user_id": 1
}
PATCH /plugins/ApiX/tags/{tag_id} #

Tag update

This operation is implemented by the ApiX tag_update command.

Parameters

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

Request body

name string required Tag name.
description string Optional tag description.
user_id integer User reference accepted by tag 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/tags/1 \
  -d '{
    "name": "string",
    "description": "string",
    "user_id": 1
}'
Request body · application/json
{
    "name": "string",
    "description": "string",
    "user_id": 1
}
DELETE /plugins/ApiX/tags/{tag_id} #

Tag delete

This operation is implemented by the ApiX tag_delete command.

Parameters

Name In Type Description
tag_id required path integer ApiX tag_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/tags/1
GET /plugins/ApiX/tags/{tag_id}/pages/browse #

Tag browse page

This operation is implemented by the ApiX tag_browse_page command.

Parameters

Name In Type Description
tag_id required path integer ApiX tag_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/tags/1/pages/browse
GET /plugins/ApiX/tags/{tag_id}/pages/edit #

Tag edit page

This operation is implemented by the ApiX tag_edit_page command.

Parameters

Name In Type Description
tag_id required path integer ApiX tag_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/tags/1/pages/edit